mirror of
https://github.com/ZuneDev/ZuneModdingHelper.git
synced 2026-07-27 13:12:21 -07:00
Change default dialog values
This commit is contained in:
@@ -15,7 +15,7 @@ public partial class DialogViewModel : ObservableObject
|
||||
private string _description;
|
||||
|
||||
[ObservableProperty]
|
||||
private bool _showPrimaryButton;
|
||||
private bool _showPrimaryButton = true;
|
||||
|
||||
[ObservableProperty]
|
||||
private int? _height;
|
||||
@@ -27,5 +27,5 @@ public partial class ProgressDialogViewModel : DialogViewModel
|
||||
private double _progress;
|
||||
|
||||
[ObservableProperty]
|
||||
private bool _isIndeterminate;
|
||||
private bool _isIndeterminate = true;
|
||||
}
|
||||
|
||||
@@ -24,8 +24,8 @@ namespace ZuneModdingHelper.Pages
|
||||
WeakReferenceMessenger.Default.Send(new ShowDialogMessage(new ProgressDialogViewModel
|
||||
{
|
||||
Title = "RESET MOD",
|
||||
IsIndeterminate = true,
|
||||
Description = $"Preparing to reset '{mod.Title}'...",
|
||||
ShowPrimaryButton = false,
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user