From 3b1885a15ea7b63249ebdd7789d584af8955c63a Mon Sep 17 00:00:00 2001 From: natsurainko Date: Sun, 14 Jul 2024 23:15:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=91=E5=AF=BC=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=20Java=20=E8=BF=90=E8=A1=8C=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BrowserMicrosoftAuthPage.xaml | 1 + .../Views/OOBE/AccountPage.xaml | 1 + Natsurainko.FluentLauncher/Views/OOBE/JavaPage.xaml | 12 +++++------- .../Views/OOBE/MinecraftFolderPage.xaml | 1 + .../Views/Settings/LaunchPage.xaml | 4 +++- .../XamlHelpers/Converters/JavaIconConverter.cs | 2 +- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Natsurainko.FluentLauncher/Views/AuthenticationWizard/BrowserMicrosoftAuthPage.xaml b/Natsurainko.FluentLauncher/Views/AuthenticationWizard/BrowserMicrosoftAuthPage.xaml index d17b529e..8a2bc96c 100644 --- a/Natsurainko.FluentLauncher/Views/AuthenticationWizard/BrowserMicrosoftAuthPage.xaml +++ b/Natsurainko.FluentLauncher/Views/AuthenticationWizard/BrowserMicrosoftAuthPage.xaml @@ -15,6 +15,7 @@ diff --git a/Natsurainko.FluentLauncher/Views/OOBE/AccountPage.xaml b/Natsurainko.FluentLauncher/Views/OOBE/AccountPage.xaml index 6764430e..8eb38b9a 100644 --- a/Natsurainko.FluentLauncher/Views/OOBE/AccountPage.xaml +++ b/Natsurainko.FluentLauncher/Views/OOBE/AccountPage.xaml @@ -63,6 +63,7 @@ @@ -90,13 +91,13 @@ - + @@ -106,12 +107,9 @@ Width="32" Height="32" VerticalAlignment="Center" - Source="/Assets/Icons/java_logo.png" /> + Source="{Binding Converter={ThemeResource JavaIconConverter}}" /> - + diff --git a/Natsurainko.FluentLauncher/Views/Settings/LaunchPage.xaml b/Natsurainko.FluentLauncher/Views/Settings/LaunchPage.xaml index 9eae6fb3..e3b546b2 100644 --- a/Natsurainko.FluentLauncher/Views/Settings/LaunchPage.xaml +++ b/Natsurainko.FluentLauncher/Views/Settings/LaunchPage.xaml @@ -151,10 +151,12 @@ CommandParameter="{Binding}" Description="{Binding}" Header="{Binding Converter={ThemeResource JavaInfoConverter}}" - HeaderIcon="{Binding Converter={ThemeResource JavaIconConverter}}" IsClickEnabled="True" Loaded="Card_Loaded" Tag="ActiveJava"> + + +