diff --git a/Telegram/SourceFiles/media/view/media_view_pip.cpp b/Telegram/SourceFiles/media/view/media_view_pip.cpp index 159c8795fe81a..e401e25a343d8 100644 --- a/Telegram/SourceFiles/media/view/media_view_pip.cpp +++ b/Telegram/SourceFiles/media/view/media_view_pip.cpp @@ -1260,7 +1260,7 @@ void Pip::setupButtons() { volumeToggleWidth, volumeToggleHeight); using Ui::Platform::TitleControlsLayout; - if (!TitleControlsLayout::Create()->current().onLeft()) { + if (!TitleControlsLayout::Instance()->current().onLeft()) { _close.area.moveLeft(rect.x() + rect.width() - (_close.area.x() - rect.x()) diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 88c76eccb2a70..ab8d8fcfd265f 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 88c76eccb2a709f1d16b2aebbc343fad2a1837e0 +Subproject commit ab8d8fcfd265f94b2a63f94a0f1796b907818b74