From ccb794d4bd909f2bff387d45b2d5fe569ae15553 Mon Sep 17 00:00:00 2001 From: Emiliano Magliocca Date: Tue, 7 Sep 2021 10:20:35 +0200 Subject: [PATCH 1/3] Move dialogs --- Yugen.Mosaic.Uwp/Services/WhatsNewDisplayService.cs | 2 +- Yugen.Mosaic.Uwp/ViewModels/MainViewModel.cs | 3 +-- .../{Controls => Views/Dialogs}/SettingsDialog.xaml | 2 +- .../{Controls => Views/Dialogs}/SettingsDialog.xaml.cs | 2 +- .../{Controls => Views/Dialogs}/WhatsNewDialog.xaml | 2 +- .../{Controls => Views/Dialogs}/WhatsNewDialog.xaml.cs | 2 +- Yugen.Mosaic.Uwp/Yugen.Mosaic.Uwp.csproj | 8 ++++---- 7 files changed, 10 insertions(+), 11 deletions(-) rename Yugen.Mosaic.Uwp/{Controls => Views/Dialogs}/SettingsDialog.xaml (98%) rename Yugen.Mosaic.Uwp/{Controls => Views/Dialogs}/SettingsDialog.xaml.cs (90%) rename Yugen.Mosaic.Uwp/{Controls => Views/Dialogs}/WhatsNewDialog.xaml (95%) rename Yugen.Mosaic.Uwp/{Controls => Views/Dialogs}/WhatsNewDialog.xaml.cs (92%) diff --git a/Yugen.Mosaic.Uwp/Services/WhatsNewDisplayService.cs b/Yugen.Mosaic.Uwp/Services/WhatsNewDisplayService.cs index 0dfaf9d..a730e9f 100644 --- a/Yugen.Mosaic.Uwp/Services/WhatsNewDisplayService.cs +++ b/Yugen.Mosaic.Uwp/Services/WhatsNewDisplayService.cs @@ -3,8 +3,8 @@ using System; using System.Threading.Tasks; using Windows.System; -using Yugen.Mosaic.Uwp.Controls; using Yugen.Mosaic.Uwp.Interfaces; +using Yugen.Mosaic.Uwp.Views.Dialogs; namespace Yugen.Mosaic.Uwp.Services { diff --git a/Yugen.Mosaic.Uwp/ViewModels/MainViewModel.cs b/Yugen.Mosaic.Uwp/ViewModels/MainViewModel.cs index b171af1..452aa56 100644 --- a/Yugen.Mosaic.Uwp/ViewModels/MainViewModel.cs +++ b/Yugen.Mosaic.Uwp/ViewModels/MainViewModel.cs @@ -1,7 +1,6 @@ using Microsoft.AppCenter.Crashes; using Microsoft.Toolkit.Mvvm.Input; using Microsoft.Toolkit.Uwp; -using Microsoft.UI.Xaml.Controls; using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; using System; @@ -17,11 +16,11 @@ using Windows.System; using Windows.UI.Xaml; using Windows.UI.Xaml.Media.Imaging; -using Yugen.Mosaic.Uwp.Controls; using Yugen.Mosaic.Uwp.Enums; using Yugen.Mosaic.Uwp.Helpers; using Yugen.Mosaic.Uwp.Interfaces; using Yugen.Mosaic.Uwp.Models; +using Yugen.Mosaic.Uwp.Views.Dialogs; using Yugen.Toolkit.Standard.Core.Models; using Yugen.Toolkit.Standard.Extensions; using Yugen.Toolkit.Standard.Helpers; diff --git a/Yugen.Mosaic.Uwp/Controls/SettingsDialog.xaml b/Yugen.Mosaic.Uwp/Views/Dialogs/SettingsDialog.xaml similarity index 98% rename from Yugen.Mosaic.Uwp/Controls/SettingsDialog.xaml rename to Yugen.Mosaic.Uwp/Views/Dialogs/SettingsDialog.xaml index 6934713..8d28c52 100644 --- a/Yugen.Mosaic.Uwp/Controls/SettingsDialog.xaml +++ b/Yugen.Mosaic.Uwp/Views/Dialogs/SettingsDialog.xaml @@ -1,4 +1,4 @@ - App.xaml - + WhatsNewDialog.xaml @@ -110,7 +110,7 @@ - + SettingsDialog.xaml @@ -183,7 +183,7 @@ MSBuild:Compile Designer - + Designer MSBuild:Compile @@ -191,7 +191,7 @@ Designer MSBuild:Compile - + Designer MSBuild:Compile From 994c22628bded7d7be58fd78c57ea944d395078d Mon Sep 17 00:00:00 2001 From: Emiliano Magliocca Date: Mon, 13 Sep 2021 18:42:32 +0200 Subject: [PATCH 2/3] Update Nugets --- Yugen.Mosaic.Uwp/App.xaml.cs | 4 ++-- Yugen.Mosaic.Uwp/ViewModels/SettingsViewModel.cs | 2 +- Yugen.Mosaic.Uwp/Yugen.Mosaic.Uwp.csproj | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Yugen.Mosaic.Uwp/App.xaml.cs b/Yugen.Mosaic.Uwp/App.xaml.cs index 5914b56..01e42bf 100644 --- a/Yugen.Mosaic.Uwp/App.xaml.cs +++ b/Yugen.Mosaic.Uwp/App.xaml.cs @@ -63,7 +63,7 @@ protected override async void OnLaunched(LaunchActivatedEventArgs e) // Initial UI styling TitleBarHelper.ExpandViewIntoTitleBar(); - //TitleBarHelper.StyleTitleBar(...); + TitleBarHelper.StyleTitleBar(); // Create a Frame to act as the navigation context and navigate to the first page rootFrame = new Frame(); @@ -152,7 +152,7 @@ private IServiceProvider ConfigureServices() private async Task InitializeServices() { - await Services.GetService().InitializeAsync(true); + await Services.GetService().InitializeAsync(); } } } \ No newline at end of file diff --git a/Yugen.Mosaic.Uwp/ViewModels/SettingsViewModel.cs b/Yugen.Mosaic.Uwp/ViewModels/SettingsViewModel.cs index 8064328..891c1d1 100644 --- a/Yugen.Mosaic.Uwp/ViewModels/SettingsViewModel.cs +++ b/Yugen.Mosaic.Uwp/ViewModels/SettingsViewModel.cs @@ -39,7 +39,7 @@ public ElementTheme ElementTheme private async Task SwitchThemeCommandBehavior(ElementTheme param) { ElementTheme = param; - await _themeSelectorService.SetThemeAsync(param, true); + await _themeSelectorService.SetThemeAsync(param); } } } \ No newline at end of file diff --git a/Yugen.Mosaic.Uwp/Yugen.Mosaic.Uwp.csproj b/Yugen.Mosaic.Uwp/Yugen.Mosaic.Uwp.csproj index 01bfa98..244f5b0 100644 --- a/Yugen.Mosaic.Uwp/Yugen.Mosaic.Uwp.csproj +++ b/Yugen.Mosaic.Uwp/Yugen.Mosaic.Uwp.csproj @@ -234,13 +234,13 @@ 1.6.8 - 1.0.46 + 1.0.47 - 1.0.46 + 1.0.47 - 1.0.46 + 1.0.47 3.0.1 From 17af699014fa14581bbce63bb214c01c05847d2c Mon Sep 17 00:00:00 2001 From: Emiliano Magliocca Date: Wed, 29 Sep 2021 16:49:19 +0200 Subject: [PATCH 3/3] Update Nugets --- Yugen.Mosaic.Uwp/Yugen.Mosaic.Uwp.csproj | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Yugen.Mosaic.Uwp/Yugen.Mosaic.Uwp.csproj b/Yugen.Mosaic.Uwp/Yugen.Mosaic.Uwp.csproj index 244f5b0..af400f5 100644 --- a/Yugen.Mosaic.Uwp/Yugen.Mosaic.Uwp.csproj +++ b/Yugen.Mosaic.Uwp/Yugen.Mosaic.Uwp.csproj @@ -198,31 +198,31 @@ - 4.3.0 + 4.4.0 - 4.3.0 + 4.4.0 6.2.12 - 7.0.2 + 7.1.0 - 7.0.2 + 7.1.0 - 7.0.2 + 7.1.0 - 2.6.2 + 2.7.0 2.0.1 - 1.0.3 + 1.0.4 1.0.0-beta13 @@ -234,13 +234,13 @@ 1.6.8 - 1.0.47 + 1.0.48 - 1.0.47 + 1.0.48 - 1.0.47 + 1.0.48 3.0.1