Merge pull request #8494 from JosJuice/android-checkbox-no-description

Android: Fix displaying checkbox settings with no description
This commit is contained in:
Anthony 2019-11-27 15:35:29 -08:00 committed by GitHub
commit 8d814baf79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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());
}