Skip to content

Commit

Permalink
Fix the naming of TitleControlsLayout static methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Dec 23, 2024
1 parent cccf048 commit b0b3717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/media/view/media_view_pip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit b0b3717

Please sign in to comment.