diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-08-12 07:00:42 +0200 |
---|---|---|
committer | Charles Lombardo <clombardo169@gmail.com> | 2023-08-12 07:00:42 +0200 |
commit | 0d4bf53ad9f299ea267bae164085fda9486b0aca (patch) | |
tree | ebb82cf43785e0dc5a507e6b15d001e1f92f77b4 /src | |
parent | Merge pull request #11219 from zeltermann/title-id-search (diff) | |
download | yuzu-0d4bf53ad9f299ea267bae164085fda9486b0aca.tar yuzu-0d4bf53ad9f299ea267bae164085fda9486b0aca.tar.gz yuzu-0d4bf53ad9f299ea267bae164085fda9486b0aca.tar.bz2 yuzu-0d4bf53ad9f299ea267bae164085fda9486b0aca.tar.lz yuzu-0d4bf53ad9f299ea267bae164085fda9486b0aca.tar.xz yuzu-0d4bf53ad9f299ea267bae164085fda9486b0aca.tar.zst yuzu-0d4bf53ad9f299ea267bae164085fda9486b0aca.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt index 54f531795..f09f3e859 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt @@ -25,10 +25,10 @@ class SwitchSettingViewHolder(val binding: ListItemSettingSwitchBinding, adapter binding.textSettingDescription.text = "" binding.textSettingDescription.visibility = View.GONE } - binding.switchWidget.isChecked = setting.isChecked binding.switchWidget.setOnCheckedChangeListener { _: CompoundButton, _: Boolean -> adapter.onBooleanClick(item, bindingAdapterPosition, binding.switchWidget.isChecked) } + binding.switchWidget.isChecked = setting.isChecked binding.switchWidget.isEnabled = setting.isEditable } |