diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp index 1ede6deb9..e0f215d5c 100644 --- a/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp +++ b/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp @@ -394,6 +394,11 @@ Panel::Panel(Args &&args) sendContentSafeArea(); }, _widget->lifetime()); + _widget->fullScreenValue( + ) | rpl::start_with_next([=](bool fullscreen) { + _fullscreen = fullscreen; + }, _widget->lifetime()); + _widget->closeRequests( ) | rpl::start_with_next([=] { if (_closeNeedConfirmation) { diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 46c18e2c7..716986e75 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 46c18e2c7e730c6304e8d813be4d5abc6fb364ad +Subproject commit 716986e75b3abc3329f75346aeff9062a58bf98f