Version 6.3.4: Fix build with Xcode.

This commit is contained in:
John Preston
2025-11-26 16:33:49 +04:00
parent 84266aef2c
commit 6e75a41ee6
2 changed files with 4 additions and 4 deletions

View File

@@ -1856,7 +1856,7 @@ void TopBar::setupButtons(
_back->QWidget::show();
_back->setDuration(0);
_back->toggleOn(isLayer || isSide
? _backToggles.value()
? (_backToggles.value() | rpl::type_erased())
: rpl::single(wrap == Wrap::Narrow));
_back->entity()->clicks() | rpl::to_empty | rpl::start_to_stream(
_backClicks,