From 4f97443d09811711fcac7e2903260d9821d109f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Marchal?= Date: Sat, 14 Aug 2021 12:03:09 +0200 Subject: [PATCH] Fix Systray binding errors --- Views/Systray.xaml | 81 +++++++++++++++++++-------------------- Views/SystrayViewModel.cs | 4 -- 2 files changed, 40 insertions(+), 45 deletions(-) diff --git a/Views/Systray.xaml b/Views/Systray.xaml index 17c2a8f..f8ed99e 100644 --- a/Views/Systray.xaml +++ b/Views/Systray.xaml @@ -1,49 +1,48 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Views/SystrayViewModel.cs b/Views/SystrayViewModel.cs index 4f5a529..9ed4871 100644 --- a/Views/SystrayViewModel.cs +++ b/Views/SystrayViewModel.cs @@ -8,10 +8,6 @@ namespace unison { public class SystrayViewModel : INotifyPropertyChanged { - public SystrayViewModel() - { - } - public string GetAppText => "unison v" + Assembly.GetEntryAssembly().GetCustomAttribute().InformationalVersion; public ICommand ShowWindowCommand => new DelegateCommand