mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Removed Ui::hideLayer from places that can be in non-primary windows.
This commit is contained in:
@@ -718,9 +718,9 @@ void Instance::requestPermissionOrFail(Platform::PermissionType type, Fn<void()>
|
||||
}
|
||||
Ui::show(Ui::MakeConfirmBox({
|
||||
.text = tr::lng_no_mic_permission(),
|
||||
.confirmed = crl::guard(this, [=] {
|
||||
.confirmed = crl::guard(this, [=](Fn<void()> &&close) {
|
||||
Platform::OpenSystemSettingsForPermission(type);
|
||||
Ui::hideLayer();
|
||||
close();
|
||||
}),
|
||||
.confirmText = tr::lng_menu_settings(),
|
||||
}));
|
||||
|
Reference in New Issue
Block a user