diff options
Diffstat (limited to 'src/Ryujinx.Ava/UI/Views/Settings/SettingsUIView.axaml.cs')
-rw-r--r-- | src/Ryujinx.Ava/UI/Views/Settings/SettingsUIView.axaml.cs | 24 |
1 files changed, 0 insertions, 24 deletions
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<FilePickerFileType> - { - 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; - } - } } } |