Merge pull request #8494 from JosJuice/android-checkbox-no-description
Android: Fix displaying checkbox settings with no description
This commit is contained in:
commit
8d814baf79
|
@ -42,6 +42,10 @@ public final class CheckBoxSettingViewHolder extends SettingViewHolder
|
||||||
{
|
{
|
||||||
mTextSettingDescription.setText(item.getDescriptionId());
|
mTextSettingDescription.setText(item.getDescriptionId());
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
mTextSettingDescription.setText("");
|
||||||
|
}
|
||||||
|
|
||||||
mCheckbox.setChecked(mItem.isChecked());
|
mCheckbox.setChecked(mItem.isChecked());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue