mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Improve webview on macOS.
This commit is contained in:
@@ -816,7 +816,9 @@ QPointer<Ui::RpWidget> Premium::createPinnedToTop(
|
||||
: st::settingsPremiumTopBarBack),
|
||||
st::infoTopBarScale);
|
||||
_back->setDuration(0);
|
||||
_back->toggleOn(isLayer ? _backToggles.value() : rpl::single(true));
|
||||
_back->toggleOn(isLayer
|
||||
? _backToggles.value() | rpl::type_erased()
|
||||
: rpl::single(true));
|
||||
_back->entity()->addClickHandler([=] {
|
||||
_showBack.fire({});
|
||||
});
|
||||
|
Reference in New Issue
Block a user