From f33fea32877a9069bfa23bba12ee8b6ea3f6a631 Mon Sep 17 00:00:00 2001
From: Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com>
Date: Thu, 25 Jan 2024 23:20:50 +0000
Subject: Remove Custom Theming (#6175)
---
.../UI/Views/Settings/SettingsUIView.axaml | 76 +++++-----------------
.../UI/Views/Settings/SettingsUIView.axaml.cs | 24 -------
2 files changed, 17 insertions(+), 83 deletions(-)
(limited to 'src/Ryujinx.Ava/UI/Views')
diff --git a/src/Ryujinx.Ava/UI/Views/Settings/SettingsUIView.axaml b/src/Ryujinx.Ava/UI/Views/Settings/SettingsUIView.axaml
index b7471d38..6504637e 100644
--- a/src/Ryujinx.Ava/UI/Views/Settings/SettingsUIView.axaml
+++ b/src/Ryujinx.Ava/UI/Views/Settings/SettingsUIView.axaml
@@ -36,7 +36,7 @@
-
+
@@ -54,6 +54,22 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -106,64 +122,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Ryujinx.Ava/UI/Views/Settings/SettingsUIView.axaml.cs b/src/Ryujinx.Ava/UI/Views/Settings/SettingsUIView.axaml.cs
index 6d9299dd..996d15cd 100644
--- a/src/Ryujinx.Ava/UI/Views/Settings/SettingsUIView.axaml.cs
+++ b/src/Ryujinx.Ava/UI/Views/Settings/SettingsUIView.axaml.cs
@@ -61,29 +61,5 @@ namespace Ryujinx.Ava.UI.Views.Settings
GameList.SelectedIndex = oldIndex < GameList.ItemCount ? oldIndex : 0;
}
}
-
- public async void BrowseTheme(object sender, RoutedEventArgs e)
- {
- var window = this.GetVisualRoot() as Window;
- var result = await window.StorageProvider.OpenFilePickerAsync(new FilePickerOpenOptions
- {
- Title = LocaleManager.Instance[LocaleKeys.SettingsSelectThemeFileDialogTitle],
- AllowMultiple = false,
- FileTypeFilter = new List
- {
- new("xml")
- {
- Patterns = new[] { "*.xaml" },
- AppleUniformTypeIdentifiers = new[] { "com.ryujinx.xaml" },
- MimeTypes = new[] { "application/xaml+xml" },
- },
- },
- });
-
- if (result.Count > 0)
- {
- ViewModel.CustomThemePath = result[0].Path.LocalPath;
- }
- }
}
}
--
cgit v1.2.3