Change default dialog values

This commit is contained in:
Yoshi Askharoun
2024-05-16 01:05:05 -05:00
parent a3aec089ba
commit b244bc138d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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;
}
+1 -1
View File
@@ -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,
}));
}