From 01ae38a3543730f463c998fafec20353cec2b00c Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Sun, 7 Feb 2021 22:01:25 +0000 Subject: [PATCH] change LogToggle to stop logging and clear log area. The tablet I'm using most of the time to monitor the system (with Eyes and Ears) is under powered (too many Windows 10 updates at this point by I digress). So, it doesn't handle the increase in RAM needed for this feature very well. I change the LogToggle to provide a way to clear the log area alongside stopping the program logging (reducing RAM usage and processing cycles). --- .../EyesAndEars.UWP/EyesAndEars.UWP.csproj | 6 +-- .../EyesAndEars.UWP/MainPage.xaml | 39 +++++++++---------- .../EyesAndEars.UWP/MainPage.xaml.cs | 14 ++++--- .../EyesAndEars.UWP/Services/DataServices.cs | 4 +- 4 files changed, 31 insertions(+), 32 deletions(-) diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/EyesAndEars.UWP.csproj b/src/EyesAndEars.UWP/EyesAndEars.UWP/EyesAndEars.UWP.csproj index 358c4ae..b6e9457 100644 --- a/src/EyesAndEars.UWP/EyesAndEars.UWP/EyesAndEars.UWP.csproj +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP/EyesAndEars.UWP.csproj @@ -19,9 +19,9 @@ true True False - EyesAndEars.UWP_TemporaryKey.pfx - - + + + DAE20EE5240091F7E98C03948A35781171CB1005 SHA256 False True diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml b/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml index fc19994..bbb7a05 100644 --- a/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml @@ -7,9 +7,9 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Background="{ThemeResource SystemControlAcrylicWindowBrush}"> - + - + @@ -42,7 +42,7 @@ - + @@ -129,8 +129,8 @@ - - + +