From eba3a21ff92a89aae888195a8ec52f35052ce011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Tue, 15 Jun 2021 16:00:18 +0200 Subject: [PATCH] Redesigned "About" section in settings (#13) --- ColorPicker/Pages/SettingsPage.xaml | 31 ++++++++++++++++---------- ColorPicker/Pages/SettingsPage.xaml.cs | 2 ++ ColorPicker/Themes/Dark.xaml | 1 + ColorPicker/Themes/Light.xaml | 1 + 4 files changed, 23 insertions(+), 12 deletions(-) diff --git a/ColorPicker/Pages/SettingsPage.xaml b/ColorPicker/Pages/SettingsPage.xaml index 71db545..81e17bd 100644 --- a/ColorPicker/Pages/SettingsPage.xaml +++ b/ColorPicker/Pages/SettingsPage.xaml @@ -11,7 +11,7 @@ Title="SettingsPage"> - + @@ -19,20 +19,27 @@ - - - - - - - + + - - + + diff --git a/ColorPicker/Pages/SettingsPage.xaml.cs b/ColorPicker/Pages/SettingsPage.xaml.cs index febb32e..b6931e4 100644 --- a/ColorPicker/Pages/SettingsPage.xaml.cs +++ b/ColorPicker/Pages/SettingsPage.xaml.cs @@ -139,6 +139,8 @@ private async void InitUI() InstallIconTxt.Text = "\uF191"; // Set text } + VersionTxt.Text = Global.Version; // Set text + SettingsManager.Save(); // Save changes } catch (Exception ex) diff --git a/ColorPicker/Themes/Dark.xaml b/ColorPicker/Themes/Dark.xaml index 6ef1673..3926cba 100644 --- a/ColorPicker/Themes/Dark.xaml +++ b/ColorPicker/Themes/Dark.xaml @@ -4,6 +4,7 @@ #0A0A1E #141428 + #141428 #FFFFFF #141428 #1E1E32 diff --git a/ColorPicker/Themes/Light.xaml b/ColorPicker/Themes/Light.xaml index 0819675..ad7ac78 100644 --- a/ColorPicker/Themes/Light.xaml +++ b/ColorPicker/Themes/Light.xaml @@ -4,6 +4,7 @@ #ffffff #e9e9e9 + #ffffff #000000 #E5E5E5 #DBDBDB