Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11525 from t895/runtime-switch-fix
Android: Fix settings being editable when marked otherwise
  • Loading branch information
JosJuice committed Feb 1, 2023
2 parents 2a2ee5d + 2ec7577 commit 9eb5655
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -39,7 +39,7 @@ public void bind(SettingsItem item)
mBinding.textSettingDescription.setText(item.getDescription());

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.
if (mItem.getSetting() == BooleanSetting.MAIN_SKIP_IPL)
Expand Down

0 comments on commit 9eb5655

Please sign in to comment.