From 85f6fd350edc68534486c2cb7731334899d5f4fe Mon Sep 17 00:00:00 2001 From: Bartosz Cichecki Date: Tue, 25 Jun 2024 21:10:07 +0200 Subject: [PATCH] Move temperature unit change to Settings for better usability --- .../Controls/Dashboard/SensorsControl.xaml | 9 +++------ .../Controls/Dashboard/SensorsControl.xaml.cs | 11 ----------- .../Pages/BatteryPage.xaml | 5 +---- .../Pages/BatteryPage.xaml.cs | 9 --------- .../Pages/SettingsPage.xaml | 14 ++++++++++++++ .../Pages/SettingsPage.xaml.cs | 19 +++++++++++++++++++ .../Resources/Resource.Designer.cs | 18 ++++++++++++++++++ .../Resources/Resource.resx | 6 ++++++ 8 files changed, 61 insertions(+), 30 deletions(-) diff --git a/LenovoLegionToolkit.WPF/Controls/Dashboard/SensorsControl.xaml b/LenovoLegionToolkit.WPF/Controls/Dashboard/SensorsControl.xaml index 8caebe76f4..0b8f852b9e 100644 --- a/LenovoLegionToolkit.WPF/Controls/Dashboard/SensorsControl.xaml +++ b/LenovoLegionToolkit.WPF/Controls/Dashboard/SensorsControl.xaml @@ -118,8 +118,7 @@ HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Content="-" - Foreground="{DynamicResource TextFillColorSecondaryBrush}" - MouseLeftButtonDown="TemperatureLabel_Click" /> + Foreground="{DynamicResource TextFillColorSecondaryBrush}" />