Added missed back button to premium narrow section without stack.

This commit is contained in:
23rd 2022-07-29 06:04:33 +03:00 committed by John Preston
parent 5472654ac1
commit c47e951519
1 changed files with 1 additions and 1 deletions

View File

@ -816,7 +816,7 @@ QPointer<Ui::RpWidget> Premium::createPinnedToTop(
: st::settingsPremiumTopBarBack),
st::infoTopBarScale);
_back->setDuration(0);
_back->toggleOn(_backToggles.value());
_back->toggleOn(isLayer ? _backToggles.value() : rpl::single(true));
_back->entity()->addClickHandler([=] {
_showBack.fire({});
});