mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add see more uri button
This commit is contained in:
parent
749dcc6ed2
commit
54c6eaa0cd
3 changed files with 18 additions and 2 deletions
|
|
@ -365,6 +365,9 @@
|
||||||
<system:String x:Key="LogLevelINFO">Info</system:String>
|
<system:String x:Key="LogLevelINFO">Info</system:String>
|
||||||
<system:String x:Key="settingWindowFontTitle">Setting Window Font</system:String>
|
<system:String x:Key="settingWindowFontTitle">Setting Window Font</system:String>
|
||||||
|
|
||||||
|
<!-- Release Notes Window -->
|
||||||
|
<system:String x:Key="seeMoreReleaseNotes">See more release notes on GitHub</system:String>
|
||||||
|
|
||||||
<!-- FileManager Setting Dialog -->
|
<!-- FileManager Setting Dialog -->
|
||||||
<system:String x:Key="fileManagerWindow">Select File Manager</system:String>
|
<system:String x:Key="fileManagerWindow">Select File Manager</system:String>
|
||||||
<system:String x:Key="fileManager_learnMore">Learn more</system:String>
|
<system:String x:Key="fileManager_learnMore">Learn more</system:String>
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
x:Class="Flow.Launcher.ReleaseNotesWindow"
|
x:Class="Flow.Launcher.ReleaseNotesWindow"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:cc="clr-namespace:Flow.Launcher.Resources.Controls"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:Flow.Launcher"
|
xmlns:local="clr-namespace:Flow.Launcher"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
|
@ -42,6 +43,7 @@
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="32" />
|
<RowDefinition Height="32" />
|
||||||
<RowDefinition />
|
<RowDefinition />
|
||||||
|
<RowDefinition />
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<!-- TitleBar and Control -->
|
<!-- TitleBar and Control -->
|
||||||
<Image
|
<Image
|
||||||
|
|
@ -153,9 +155,17 @@
|
||||||
</Path>
|
</Path>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
<Grid
|
||||||
|
Grid.Row="1"
|
||||||
|
Grid.Column="0"
|
||||||
|
Grid.ColumnSpan="5"
|
||||||
|
Margin="10 0 20 0">
|
||||||
|
<cc:HyperLink x:Name="SeeMore" Text="{DynamicResource seeMoreReleaseNotes}" />
|
||||||
|
</Grid>
|
||||||
|
|
||||||
<mdxam:MarkdownScrollViewer
|
<mdxam:MarkdownScrollViewer
|
||||||
x:Name="MarkdownViewer"
|
x:Name="MarkdownViewer"
|
||||||
Grid.Row="1"
|
Grid.Row="2"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Grid.ColumnSpan="5"
|
Grid.ColumnSpan="5"
|
||||||
Height="510"
|
Height="510"
|
||||||
|
|
@ -168,7 +178,7 @@
|
||||||
|
|
||||||
<!-- Put this Grid in the same position as MarkdownViewer -->
|
<!-- Put this Grid in the same position as MarkdownViewer -->
|
||||||
<Grid
|
<Grid
|
||||||
Grid.Row="1"
|
Grid.Row="2"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Grid.ColumnSpan="5"
|
Grid.ColumnSpan="5"
|
||||||
Height="510"
|
Height="510"
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,12 @@ namespace Flow.Launcher
|
||||||
{
|
{
|
||||||
public partial class ReleaseNotesWindow : Window
|
public partial class ReleaseNotesWindow : Window
|
||||||
{
|
{
|
||||||
|
private static readonly string ReleaseNotes = Properties.Settings.Default.GithubRepo + "/releases";
|
||||||
|
|
||||||
public ReleaseNotesWindow()
|
public ReleaseNotesWindow()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
SeeMore.Uri = ReleaseNotes;
|
||||||
ModernWpf.ThemeManager.Current.ActualApplicationThemeChanged += ThemeManager_ActualApplicationThemeChanged;
|
ModernWpf.ThemeManager.Current.ActualApplicationThemeChanged += ThemeManager_ActualApplicationThemeChanged;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue