Fix the naming of TitleControlsLayout static methods

This commit is contained in:
Ilya Fedin 2024-12-22 06:32:40 +04:00 committed by John Preston
parent cccf048e3f
commit b0b37172ce
2 changed files with 2 additions and 2 deletions
Telegram
SourceFiles/media/view
lib_ui

View file

@ -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())

@ -1 +1 @@
Subproject commit 88c76eccb2a709f1d16b2aebbc343fad2a1837e0
Subproject commit ab8d8fcfd265f94b2a63f94a0f1796b907818b74