Slightly optimise greyed out apk/app views
This commit is contained in:
parent
eb1d21f827
commit
19583c2b75
@ -110,9 +110,11 @@ abstract public class AppListAdapter extends BaseAdapter {
|
||||
}
|
||||
|
||||
// Disable it all if it isn't compatible...
|
||||
View[] views = { convertView, status, summary, license, name };
|
||||
for (View view : views) {
|
||||
view.setEnabled(app.compatible);
|
||||
if (!app.compatible) {
|
||||
View[] views = { convertView, status, summary, license, name };
|
||||
for (View view : views) {
|
||||
view.setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
return convertView;
|
||||
|
Loading…
x
Reference in New Issue
Block a user