diff --git a/Telegram/SourceFiles/kotato/settings_menu.cpp b/Telegram/SourceFiles/kotato/settings_menu.cpp index be6251594..f396503e5 100644 --- a/Telegram/SourceFiles/kotato/settings_menu.cpp +++ b/Telegram/SourceFiles/kotato/settings_menu.cpp @@ -277,7 +277,7 @@ void SetupKotatoChats( SettingsMenuCSwitch(ktg_settings_top_bar_mute, ProfileTopBarNotifications); SettingsMenuCSwitch(ktg_settings_disable_up_edit, DisableUpEdit); - if (Ui::Platform::IsOverlapped(controller, QRect()).has_value()) { + if (Ui::Platform::IsOverlapped(container, QRect()).has_value()) { SettingsMenuCSwitch(ktg_settings_auto_scroll_unfocused, AutoScrollUnfocused); }