2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

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

View File

@@ -1260,7 +1260,7 @@ void Pip::setupButtons() {
volumeToggleWidth, volumeToggleWidth,
volumeToggleHeight); volumeToggleHeight);
using Ui::Platform::TitleControlsLayout; using Ui::Platform::TitleControlsLayout;
if (!TitleControlsLayout::Create()->current().onLeft()) { if (!TitleControlsLayout::Instance()->current().onLeft()) {
_close.area.moveLeft(rect.x() _close.area.moveLeft(rect.x()
+ rect.width() + rect.width()
- (_close.area.x() - rect.x()) - (_close.area.x() - rect.x())