feat: temporary add both Chinese and English in demo message.

This commit is contained in:
rabbitism
2024-10-07 18:10:56 +08:00
parent 8ee920bde4
commit 37c16e2080

View File

@@ -12,7 +12,7 @@ public partial class MainWindow : UrsaWindow
protected override async Task<bool> CanClose()
{
var result = await MessageBox.ShowOverlayAsync("Are you sure you want to exit?", "Exit", button: MessageBoxButton.YesNo);
var result = await MessageBox.ShowOverlayAsync("Are you sure you want to exit?\n您确定要退出吗", "Exit", button: MessageBoxButton.YesNo);
return result == MessageBoxResult.Yes;
}
}