mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-22 10:31:26 -07:00
25 lines
707 B
C#
25 lines
707 B
C#
using System.Windows.Input;
|
|
using CommunityToolkit.Mvvm.Input;
|
|
|
|
using Bloxstrap.Resources;
|
|
|
|
namespace Bloxstrap.UI.ViewModels.Dialogs
|
|
{
|
|
public class UninstallerViewModel
|
|
{
|
|
public string Text => String.Format(
|
|
Strings.Uninstaller_Text,
|
|
"https://github.com/bloxstraplabs/bloxstrap/wiki/Roblox-crashes-or-does-not-launch",
|
|
Paths.Base
|
|
);
|
|
|
|
public bool KeepData { get; set; } = true;
|
|
|
|
public ICommand ConfirmUninstallCommand => new RelayCommand(ConfirmUninstall);
|
|
|
|
public event EventHandler? ConfirmUninstallRequest;
|
|
|
|
private void ConfirmUninstall() => ConfirmUninstallRequest?.Invoke(this, new EventArgs());
|
|
}
|
|
}
|