Fixed swipe handler for small chat lists.

This commit is contained in:
23rd 2025-03-24 15:34:54 +03:00
parent c4b37950a9
commit a30951dc91

View file

@ -379,6 +379,10 @@ Widget::Widget(
_childListPeerId.value(),
_childListShown.value(),
makeChildListShown)));
_scroll->heightValue() | rpl::start_with_next([=](int height) {
_inner->setMinimumHeight(height);
_inner->refresh();
}, _inner->lifetime());
_scrollToTop->raise();
_lockUnlock->toggle(false, anim::type::instant);