mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-02-02 03:01:42 -05:00
Slightly optimise greyed out apk/app views
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user