mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 17:06:03 +00:00
Count all accounts in Core::App().unreadBadge.
This commit is contained in:
@@ -58,17 +58,6 @@ auto GenerateCodes() {
|
||||
codes.emplace(qsl("loadlang"), [](SessionController *window) {
|
||||
Lang::CurrentCloudManager().switchToLanguage({ qsl("#custom") });
|
||||
});
|
||||
codes.emplace(qsl("debugfiles"), [](SessionController *window) {
|
||||
if (!Logs::DebugEnabled()) {
|
||||
return;
|
||||
}
|
||||
if (DebugLogging::FileLoader()) {
|
||||
Global::RefDebugLoggingFlags() &= ~DebugLogging::FileLoaderFlag;
|
||||
} else {
|
||||
Global::RefDebugLoggingFlags() |= DebugLogging::FileLoaderFlag;
|
||||
}
|
||||
Ui::show(Box<InformBox>(DebugLogging::FileLoader() ? qsl("Enabled file download logging") : qsl("Disabled file download logging")));
|
||||
});
|
||||
codes.emplace(qsl("crashplease"), [](SessionController *window) {
|
||||
Unexpected("Crashed in Settings!");
|
||||
});
|
||||
|
Reference in New Issue
Block a user