File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1616 MinHeight =" 600"
1717 Background =" {DynamicResource PopuBGColor}"
1818 Closed =" Window_Closed"
19+ DataContext =" {Binding RelativeSource={RelativeSource Self}}"
1920 Foreground =" {DynamicResource PopupTextColor}"
2021 Loaded =" Window_Loaded"
2122 ResizeMode =" CanResize"
4445 </Grid .ColumnDefinitions>
4546 <Grid .RowDefinitions>
4647 <RowDefinition Height =" 32" />
47- <RowDefinition Height =" 24 " />
48+ <RowDefinition Height =" Auto " />
4849 <RowDefinition Height =" *" />
4950 </Grid .RowDefinitions>
5051 <!-- TitleBar and Control -->
161162 Grid.Row=" 1"
162163 Grid.Column=" 0"
163164 Grid.ColumnSpan=" 5"
164- Margin =" 18 0 18 0" >
165- <cc : HyperLink x : Name =" SeeMore" Text =" {DynamicResource seeMoreReleaseNotes}" />
165+ Margin =" 8 0 18 0" >
166+ <ui : HyperlinkButton
167+ x : Name =" SeeMore"
168+ Content =" {DynamicResource seeMoreReleaseNotes}"
169+ NavigateUri =" {Binding ReleaseNotes}" />
166170 </Grid >
167171
168172 <!-- Do not use scroll function of MarkdownViewer because it does not support smooth scroll -->
Original file line number Diff line number Diff line change @@ -16,12 +16,11 @@ namespace Flow.Launcher
1616{
1717 public partial class ReleaseNotesWindow : Window
1818 {
19- private static readonly string ReleaseNotes = Properties . Settings . Default . GithubRepo + "/releases" ;
19+ public string ReleaseNotes => Properties . Settings . Default . GithubRepo + "/releases" ;
2020
2121 public ReleaseNotesWindow ( )
2222 {
2323 InitializeComponent ( ) ;
24- SeeMore . Uri = ReleaseNotes ;
2524 ThemeManager . Current . ActualApplicationThemeChanged += ThemeManager_ActualApplicationThemeChanged ;
2625 }
2726
You can’t perform that action at this time.
0 commit comments