mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix build for Windows Store.
This commit is contained in:
parent
9c57e31256
commit
e84bfe0420
1 changed files with 2 additions and 2 deletions
|
@ -402,9 +402,9 @@ void AutostartToggle(bool enabled, Fn<void(bool)> done) {
|
|||
} else if (const auto window = Core::App().activeWindow()) {
|
||||
window->show(Ui::MakeConfirmBox({
|
||||
.text = tr::lng_settings_auto_start_disabled_uwp(),
|
||||
.confirmed = [] {
|
||||
.confirmed = [](Fn<void()> close) {
|
||||
AutostartTask::OpenSettings();
|
||||
Ui::hideLayer();
|
||||
close();
|
||||
},
|
||||
.confirmText = tr::lng_settings_open_system_settings(),
|
||||
}));
|
||||
|
|
Loading…
Add table
Reference in a new issue