1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

always initialize checkboxes AppBlacklistActivity, not only when App is in blacklist

Closes #129
This commit is contained in:
Andreas Shimokawa 2015-09-25 21:31:40 +02:00
parent 720eaa111d
commit c8a08510ce

View File

@ -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;
}