Android: Fix displaying checkbox settings with no description

https://bugs.dolphin-emu.org/issues/11904
This commit is contained in:
JosJuice 2019-11-25 00:14:40 +01:00
parent 4305a9ac57
commit 8339793918
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ public final class CheckBoxSettingViewHolder extends SettingViewHolder
{
mTextSettingDescription.setText(item.getDescriptionId());
}
else
{
mTextSettingDescription.setText("");
}
mCheckbox.setChecked(mItem.isChecked());
}