2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Add a box for new theme creating.

This commit is contained in:
John Preston
2019-09-02 19:10:18 +03:00
parent 1e3b72ab74
commit 4b045a602c
16 changed files with 322 additions and 72 deletions

View File

@@ -94,9 +94,6 @@ auto GenerateCodes() {
}
});
});
codes.emplace(qsl("edittheme"), [](::Main::Session *session) {
Window::Theme::Editor::Start();
});
codes.emplace(qsl("videoplayer"), [](::Main::Session *session) {
auto text = cUseExternalVideoPlayer() ? qsl("Use internal video player?") : qsl("Use external video player?");
Ui::show(Box<ConfirmBox>(text, [] {