Open release notes in about page

This commit is contained in:
Jack251970 2025-06-07 11:21:25 +08:00
parent 458a8b3efb
commit 414db19fa7
2 changed files with 8 additions and 1 deletions

View file

@ -314,4 +314,11 @@ public partial class SettingsPaneAboutViewModel : BaseModel
{
SettingWindowFont = Win32Helper.GetSystemDefaultFont(false);
}
[RelayCommand]
private void OpenReleaseNotes()
{
var releaseNotesWindow = new ReleaseNotesWindow();
releaseNotesWindow.Show();
}
}

View file

@ -55,7 +55,7 @@
</cc:Card>
<cc:Card Title="{DynamicResource releaseNotes}" Icon="&#xe8fd;">
<cc:HyperLink Text="{DynamicResource releaseNotes}" Uri="{Binding ReleaseNotes}" />
<Button Command="{Binding OpenReleaseNotesCommand}" Content="{DynamicResource releaseNotes}" />
</cc:Card>