2
0
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:
John Preston
2018-09-26 14:28:16 +03:00
parent cf9f7ef508
commit 9b85dd27ca
17 changed files with 452 additions and 78 deletions

View File

@@ -58,6 +58,7 @@ MainMenu::MainMenu(
const auto nightMode = Window::Theme::IsNightMode();
if (action->isChecked() != nightMode) {
Window::Theme::ToggleNightMode();
Window::Theme::KeepApplied();
}
}
});