mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Use ::Settings::Main::Id() as fallback
This commit is contained in:
@@ -453,6 +453,7 @@ bool ResolveSettings(
|
||||
return ::Settings::Main::Id();
|
||||
} else if (section == qstr("language")) {
|
||||
ShowLanguagesBox();
|
||||
return {};
|
||||
} else if (section == qstr("devices")) {
|
||||
controller->session().api().authorizations().reload();
|
||||
return ::Settings::Sessions::Id();
|
||||
@@ -465,7 +466,7 @@ bool ResolveSettings(
|
||||
} else if (section == qstr("change_number")) {
|
||||
return ::Settings::ChangePhone::Id();
|
||||
}
|
||||
return {};
|
||||
return ::Settings::Main::Id();
|
||||
}();
|
||||
|
||||
if (type.has_value()) {
|
||||
|
||||
Reference in New Issue
Block a user