diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-11-01 05:17:38 +0100 |
---|---|---|
committer | Charles Lombardo <clombardo169@gmail.com> | 2023-11-01 05:17:38 +0100 |
commit | 2b6edd3efd1c3a88ed47249b77e7b12951d8a13d (patch) | |
tree | 7512b92e70f875636c156b07b4c8cef9d7865d85 /src | |
parent | Merge pull request #11934 from zhaobot/tx-update-20231101020822 (diff) | |
download | yuzu-2b6edd3efd1c3a88ed47249b77e7b12951d8a13d.tar yuzu-2b6edd3efd1c3a88ed47249b77e7b12951d8a13d.tar.gz yuzu-2b6edd3efd1c3a88ed47249b77e7b12951d8a13d.tar.bz2 yuzu-2b6edd3efd1c3a88ed47249b77e7b12951d8a13d.tar.lz yuzu-2b6edd3efd1c3a88ed47249b77e7b12951d8a13d.tar.xz yuzu-2b6edd3efd1c3a88ed47249b77e7b12951d8a13d.tar.zst yuzu-2b6edd3efd1c3a88ed47249b77e7b12951d8a13d.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt index 6e19fc6c0..ed2a5cb55 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt @@ -86,28 +86,6 @@ class HomeSettingsFragment : Fragment() { ) add( HomeSetting( - R.string.open_user_folder, - R.string.open_user_folder_description, - R.drawable.ic_folder_open, - { openFileManager() } - ) - ) - add( - HomeSetting( - R.string.preferences_theme, - R.string.theme_and_color_description, - R.drawable.ic_palette, - { - val action = HomeNavigationDirections.actionGlobalSettingsActivity( - null, - Settings.MenuTag.SECTION_THEME - ) - binding.root.findNavController().navigate(action) - } - ) - ) - add( - HomeSetting( R.string.gpu_driver_manager, R.string.install_gpu_driver_description, R.drawable.ic_build, @@ -123,17 +101,6 @@ class HomeSettingsFragment : Fragment() { ) add( HomeSetting( - R.string.manage_yuzu_data, - R.string.manage_yuzu_data_description, - R.drawable.ic_install, - { - binding.root.findNavController() - .navigate(R.id.action_homeSettingsFragment_to_installableFragment) - } - ) - ) - add( - HomeSetting( R.string.applets, R.string.applets_description, R.drawable.ic_applet, @@ -148,6 +115,17 @@ class HomeSettingsFragment : Fragment() { ) add( HomeSetting( + R.string.manage_yuzu_data, + R.string.manage_yuzu_data_description, + R.drawable.ic_install, + { + binding.root.findNavController() + .navigate(R.id.action_homeSettingsFragment_to_installableFragment) + } + ) + ) + add( + HomeSetting( R.string.select_games_folder, R.string.select_games_folder_description, R.drawable.ic_add, @@ -172,6 +150,28 @@ class HomeSettingsFragment : Fragment() { ) add( HomeSetting( + R.string.open_user_folder, + R.string.open_user_folder_description, + R.drawable.ic_folder_open, + { openFileManager() } + ) + ) + add( + HomeSetting( + R.string.preferences_theme, + R.string.theme_and_color_description, + R.drawable.ic_palette, + { + val action = HomeNavigationDirections.actionGlobalSettingsActivity( + null, + Settings.MenuTag.SECTION_THEME + ) + binding.root.findNavController().navigate(action) + } + ) + ) + add( + HomeSetting( R.string.about, R.string.about_description, R.drawable.ic_info_outline, |