From d9a183bb9511070fb1a05adad8590ec9828040ea Mon Sep 17 00:00:00 2001 From: Jan B Date: Fri, 19 Apr 2019 13:56:54 +0200 Subject: [PATCH] Hotfix: Selected Source is now probably working There was a bug that didn't autmatically start fetching Songs when the app launched, this should be fixed now --- Songify Slim/MainWindow.xaml.cs | 13 +++++++++++++ Songify Slim/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Songify Slim/MainWindow.xaml.cs b/Songify Slim/MainWindow.xaml.cs index f9574b1d..408c089e 100644 --- a/Songify Slim/MainWindow.xaml.cs +++ b/Songify Slim/MainWindow.xaml.cs @@ -140,6 +140,19 @@ private void MetroWindowLoaded(object sender, RoutedEventArgs e) cbx_Source.SelectedIndex = selectedSource; this.LblCopyright.Content = "Songify v" + Version.Substring(0, 5) + " Copyright © Jan \"Inzaniity\" Blömacher"; + + switch (selectedSource) + { + case 0: + FetchTimer(1000); + break; + case 1: + FetchTimer(3000); + break; + case 2: + FetchTimer(3000); + break; + } } private void TelemetryTimer() diff --git a/Songify Slim/Properties/AssemblyInfo.cs b/Songify Slim/Properties/AssemblyInfo.cs index 35e5769c..ccec44ab 100644 --- a/Songify Slim/Properties/AssemblyInfo.cs +++ b/Songify Slim/Properties/AssemblyInfo.cs @@ -51,5 +51,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.5.0")] -[assembly: AssemblyFileVersion("1.0.5.0")] +[assembly: AssemblyVersion("1.0.6.0")] +[assembly: AssemblyFileVersion("1.0.6.0")]