mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Android: Fix settings being editable when marked otherwise
This commit is contained in:
parent
2a2ee5d543
commit
2ec7577788
@ -39,7 +39,7 @@ public final class SwitchSettingViewHolder extends SettingViewHolder
|
|||||||
mBinding.textSettingDescription.setText(item.getDescription());
|
mBinding.textSettingDescription.setText(item.getDescription());
|
||||||
|
|
||||||
mBinding.settingSwitch.setChecked(mItem.isChecked(getAdapter().getSettings()));
|
mBinding.settingSwitch.setChecked(mItem.isChecked(getAdapter().getSettings()));
|
||||||
mBinding.settingSwitch.setEnabled(true);
|
mBinding.settingSwitch.setEnabled(mItem.isEditable());
|
||||||
|
|
||||||
// Check for IPL to make sure user can skip.
|
// Check for IPL to make sure user can skip.
|
||||||
if (mItem.getSetting() == BooleanSetting.MAIN_SKIP_IPL)
|
if (mItem.getSetting() == BooleanSetting.MAIN_SKIP_IPL)
|
||||||
|
Loading…
Reference in New Issue
Block a user