diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/AppBlacklistActivity.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/AppBlacklistActivity.java index d95fd767..371572db 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/AppBlacklistActivity.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/AppBlacklistActivity.java @@ -77,9 +77,7 @@ public class AppBlacklistActivity extends Activity { deviceAppNameLabel.setText(appInfo.loadLabel(pm)); deviceImageView.setImageDrawable(appInfo.loadIcon(pm)); - if (GBApplication.blacklist.contains(appInfo.packageName)) { - checkbox.setChecked(true); - } + checkbox.setChecked(GBApplication.blacklist.contains(appInfo.packageName)); return view; }