2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Replace dialogs mode with filters.

This commit is contained in:
John Preston
2020-02-07 13:43:12 +04:00
parent 98b947fbdf
commit 71f7aae948
28 changed files with 330 additions and 236 deletions

View File

@@ -503,8 +503,8 @@ void Application::switchDebugMode() {
}
void Application::switchWorkMode() {
Global::SetDialogsModeEnabled(!Global::DialogsModeEnabled());
Global::SetDialogsMode(Dialogs::Mode::All);
Global::SetDialogsFiltersEnabled(!Global::DialogsFiltersEnabled());
Global::SetDialogsFilterId(0);
Local::writeUserSettings();
App::restart();
}