mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-03-28 09:59:49 +08:00
19 lines
405 B
C#
19 lines
405 B
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using CommunityToolkit.Mvvm.Input;
|
|
using MicaSetup.Helper;
|
|
using System.Windows;
|
|
|
|
namespace MicaSetup.ViewModels;
|
|
|
|
public partial class FinishViewModel : ObservableObject
|
|
{
|
|
[RelayCommand]
|
|
public void Close()
|
|
{
|
|
if (UIDispatcherHelper.MainWindow is Window window)
|
|
{
|
|
SystemCommands.CloseWindow(window);
|
|
}
|
|
}
|
|
}
|