mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Added missed back button to premium narrow section without stack.
This commit is contained in:
parent
5472654ac1
commit
c47e951519
1 changed files with 1 additions and 1 deletions
|
@ -816,7 +816,7 @@ QPointer<Ui::RpWidget> Premium::createPinnedToTop(
|
||||||
: st::settingsPremiumTopBarBack),
|
: st::settingsPremiumTopBarBack),
|
||||||
st::infoTopBarScale);
|
st::infoTopBarScale);
|
||||||
_back->setDuration(0);
|
_back->setDuration(0);
|
||||||
_back->toggleOn(_backToggles.value());
|
_back->toggleOn(isLayer ? _backToggles.value() : rpl::single(true));
|
||||||
_back->entity()->addClickHandler([=] {
|
_back->entity()->addClickHandler([=] {
|
||||||
_showBack.fire({});
|
_showBack.fire({});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue