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:
parent
720eaa111d
commit
c8a08510ce
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user