From 83397939180d4a4cb30c74274d6453f9affb394f Mon Sep 17 00:00:00 2001 From: JosJuice Date: Mon, 25 Nov 2019 00:14:40 +0100 Subject: [PATCH] Android: Fix displaying checkbox settings with no description https://bugs.dolphin-emu.org/issues/11904 --- .../settings/ui/viewholder/CheckBoxSettingViewHolder.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/viewholder/CheckBoxSettingViewHolder.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/viewholder/CheckBoxSettingViewHolder.java index 82ea3daec1d4..e2b5c2e42d07 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/viewholder/CheckBoxSettingViewHolder.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/viewholder/CheckBoxSettingViewHolder.java @@ -42,6 +42,10 @@ public void bind(SettingsItem item) { mTextSettingDescription.setText(item.getDescriptionId()); } + else + { + mTextSettingDescription.setText(""); + } mCheckbox.setChecked(mItem.isChecked()); }