diff --git a/Emerald.App/Emerald.App.Package/Package.WinUI.wapproj b/Emerald.App/Emerald.App.Package/Package.WinUI.wapproj index f2d59f2a..dbeb1bbf 100644 --- a/Emerald.App/Emerald.App.Package/Package.WinUI.wapproj +++ b/Emerald.App/Emerald.App.Package/Package.WinUI.wapproj @@ -59,7 +59,7 @@ SHA256 False True - x64 + x86|x64|arm64 D:\Projects\Emerald\Emerald.App\Emerald.App.Package\AppPackages\ 0 False diff --git a/Emerald.App/Emerald.App/Views/Settings/AboutPage.xaml.cs b/Emerald.App/Emerald.App/Views/Settings/AboutPage.xaml.cs index e43dfb15..54fd7cb0 100644 --- a/Emerald.App/Emerald.App/Views/Settings/AboutPage.xaml.cs +++ b/Emerald.App/Emerald.App/Views/Settings/AboutPage.xaml.cs @@ -11,7 +11,6 @@ using System.Threading.Tasks; using Windows.ApplicationModel.DataTransfer; using SS = Emerald.WinUI.Helpers.Settings.SettingsSystem; - namespace Emerald.WinUI.Views.Settings; public sealed partial class AboutPage : Page, INotifyPropertyChanged @@ -137,6 +136,7 @@ private async void LoadBackup_Click(object sender, RoutedEventArgs e) { if (await WindowsHelloResult()) { + var b = (SettingsBackup)lvBackups.SelectedItems[0]; if (!(await SS.GetBackups()).Where(x => x.Backup == SS.Settings.Serialize()).Any()) { var r = await MessageBox.Show("Warning".Localize(), "SettingsLoadWarn".Localize(), MessageBoxButtons.YesNoCancel); @@ -145,7 +145,6 @@ private async void LoadBackup_Click(object sender, RoutedEventArgs e) if (r == MessageBoxResults.Yes) await SS.CreateBackup(SS.Settings.Serialize()); - var b = (SettingsBackup)lvBackups.SelectedItems[0]; UpdateBackupList(); App.Current.LoadFromBackupSettings(b.Backup); }