From 553ca543159bad03ab491d3d3941b7e493ed5429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Marchal?= Date: Thu, 19 Aug 2021 23:03:50 +0200 Subject: [PATCH] Change buttons --- App.xaml.cs | 8 ++------ Views/MainWindow.xaml | 34 +++++++++++++++++----------------- Views/MainWindow.xaml.cs | 4 ++-- 3 files changed, 21 insertions(+), 25 deletions(-) diff --git a/App.xaml.cs b/App.xaml.cs index e629220..efe2d6f 100644 --- a/App.xaml.cs +++ b/App.xaml.cs @@ -1,15 +1,11 @@ -using System; -using System.Diagnostics; -using System.Windows; +using System.Windows; using Hardcodet.Wpf.TaskbarNotification; // todo: // -// * finish correct refresh of mpd // * show mpd version // * change volume offset -// * fix window resize -// * show covers +// * fix window resize (if it still happens?) namespace unison { diff --git a/Views/MainWindow.xaml b/Views/MainWindow.xaml index fe4ce37..6e5a71d 100644 --- a/Views/MainWindow.xaml +++ b/Views/MainWindow.xaml @@ -38,45 +38,45 @@ - + - - - - - + + - + - + - - + + diff --git a/Views/MainWindow.xaml.cs b/Views/MainWindow.xaml.cs index 8b304d2..5cc72d7 100644 --- a/Views/MainWindow.xaml.cs +++ b/Views/MainWindow.xaml.cs @@ -81,9 +81,9 @@ namespace unison } if (mpd.IsPlaying()) - PauseButtonEmoji.Text = "⏸️"; + PlayPause.Text = "\xedb4"; else - PauseButtonEmoji.Text = "▶️"; + PlayPause.Text = "\xedb5"; SnapcastHandler snapcast = (SnapcastHandler)Application.Current.Properties["snapcast"]; if (snapcast.Started)