mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix build for Windows Store.
This commit is contained in:
@@ -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(),
|
||||
}));
|
||||
|
Reference in New Issue
Block a user