mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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();
|
return ::Settings::Main::Id();
|
||||||
} else if (section == qstr("language")) {
|
} else if (section == qstr("language")) {
|
||||||
ShowLanguagesBox();
|
ShowLanguagesBox();
|
||||||
|
return {};
|
||||||
} else if (section == qstr("devices")) {
|
} else if (section == qstr("devices")) {
|
||||||
controller->session().api().authorizations().reload();
|
controller->session().api().authorizations().reload();
|
||||||
return ::Settings::Sessions::Id();
|
return ::Settings::Sessions::Id();
|
||||||
|
@ -465,7 +466,7 @@ bool ResolveSettings(
|
||||||
} else if (section == qstr("change_number")) {
|
} else if (section == qstr("change_number")) {
|
||||||
return ::Settings::ChangePhone::Id();
|
return ::Settings::ChangePhone::Id();
|
||||||
}
|
}
|
||||||
return {};
|
return ::Settings::Main::Id();
|
||||||
}();
|
}();
|
||||||
|
|
||||||
if (type.has_value()) {
|
if (type.has_value()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue