feat(ui): apply flow direction to modals, default confirmations to Cancel and guard code-behind resources
This commit is contained in:
1 parent
e3265e3c89
commit
60619e0290
13 files changed
+125
-28
No files matched your search
@@ -33,7 +33,7 @@ public partial class MainWindow : Window {
|
||||
var dialog = new SettingsDialog {
|
||||
DataContext = new SettingsDialogViewModel(App.Services.Config, App.StartupLanguage),
|
||||
};
|
||||
await dialog.ShowDialog(this);
|
||||
await ModalWindow.ShowAsync(this, dialog);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -43,6 +43,6 @@ public partial class MainWindow : Window {
|
||||
var dialog = new AboutDialog {
|
||||
DataContext = new AboutDialogViewModel(),
|
||||
};
|
||||
await dialog.ShowDialog(this);
|
||||
await ModalWindow.ShowAsync(this, dialog);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user