mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Allow to choose one of four default themes.
This commit is contained in:
@@ -58,6 +58,7 @@ MainMenu::MainMenu(
|
||||
const auto nightMode = Window::Theme::IsNightMode();
|
||||
if (action->isChecked() != nightMode) {
|
||||
Window::Theme::ToggleNightMode();
|
||||
Window::Theme::KeepApplied();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user