mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Use ::Settings::Main::Id()
as fallback
This commit is contained in:
parent
fafbbb4996
commit
ef8ecc546b
1 changed files with 2 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue