mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Fixed swipe handler for small chat lists.
This commit is contained in:
parent
c4b37950a9
commit
a30951dc91
1 changed files with 4 additions and 0 deletions
|
@ -379,6 +379,10 @@ Widget::Widget(
|
||||||
_childListPeerId.value(),
|
_childListPeerId.value(),
|
||||||
_childListShown.value(),
|
_childListShown.value(),
|
||||||
makeChildListShown)));
|
makeChildListShown)));
|
||||||
|
_scroll->heightValue() | rpl::start_with_next([=](int height) {
|
||||||
|
_inner->setMinimumHeight(height);
|
||||||
|
_inner->refresh();
|
||||||
|
}, _inner->lifetime());
|
||||||
_scrollToTop->raise();
|
_scrollToTop->raise();
|
||||||
_lockUnlock->toggle(false, anim::type::instant);
|
_lockUnlock->toggle(false, anim::type::instant);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue