diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-04-29 01:55:41 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:56 +0200 |
commit | 792ce5cb2f72b0e251742366da768c7a9ea0ffa7 (patch) | |
tree | e249e6c196804dc98dc83b7104b51c8930c5f968 /src/android | |
parent | android: Add warnings to setup screens (diff) | |
download | yuzu-792ce5cb2f72b0e251742366da768c7a9ea0ffa7.tar yuzu-792ce5cb2f72b0e251742366da768c7a9ea0ffa7.tar.gz yuzu-792ce5cb2f72b0e251742366da768c7a9ea0ffa7.tar.bz2 yuzu-792ce5cb2f72b0e251742366da768c7a9ea0ffa7.tar.lz yuzu-792ce5cb2f72b0e251742366da768c7a9ea0ffa7.tar.xz yuzu-792ce5cb2f72b0e251742366da768c7a9ea0ffa7.tar.zst yuzu-792ce5cb2f72b0e251742366da768c7a9ea0ffa7.zip |
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt | 4 |
1 files changed, 2 insertions, 2 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 aba2a188e..69e6b7f88 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 @@ -95,7 +95,7 @@ class HomeSettingsFragment : Fragment() { .setTitle(getString(R.string.select_gpu_driver_title)) .setMessage(driverName) .setNegativeButton(android.R.string.cancel, null) - .setPositiveButton(R.string.select_gpu_driver_default) { _: DialogInterface?, _: Int -> + .setNeutralButton(R.string.select_gpu_driver_default) { _: DialogInterface?, _: Int -> GpuDriverHelper.installDefaultDriver(requireContext()) Toast.makeText( requireContext(), @@ -103,7 +103,7 @@ class HomeSettingsFragment : Fragment() { Toast.LENGTH_SHORT ).show() } - .setNeutralButton(R.string.select_gpu_driver_install) { _: DialogInterface?, _: Int -> + .setPositiveButton(R.string.select_gpu_driver_install) { _: DialogInterface?, _: Int -> mainActivity.getDriver.launch(arrayOf("application/zip")) } .show() |