Updates/Insalled icons in compact layout need to be updated
This commit is contained in:
parent
0c259673d8
commit
09d21740c8
@ -109,13 +109,6 @@ abstract public class AppListAdapter extends BaseAdapter {
|
|||||||
summaryLayout.addRule(RelativeLayout.END_OF, R.id.icon);
|
summaryLayout.addRule(RelativeLayout.END_OF, R.id.icon);
|
||||||
summary.setLayoutParams(summaryLayout);
|
summary.setLayoutParams(summaryLayout);
|
||||||
|
|
||||||
if (app.hasUpdates && showStatusUpdate()) {
|
|
||||||
iconUpdates.setVisibility(View.VISIBLE);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (app.installedVerCode > 0 && showStatusInstalled()) {
|
|
||||||
iconInstalled.setVisibility(View.VISIBLE);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -128,6 +121,16 @@ abstract public class AppListAdapter extends BaseAdapter {
|
|||||||
return convertView;
|
return convertView;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pref_compactlayout == true) {
|
||||||
|
if (app.hasUpdates && showStatusUpdate()) {
|
||||||
|
iconUpdates.setVisibility(View.VISIBLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (app.installedVerCode > 0 && showStatusInstalled()) {
|
||||||
|
iconInstalled.setVisibility(View.VISIBLE);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private String getVersionInfo(DB.App app) {
|
private String getVersionInfo(DB.App app) {
|
||||||
StringBuilder version = new StringBuilder();
|
StringBuilder version = new StringBuilder();
|
||||||
if (app.installedVersion != null) {
|
if (app.installedVersion != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user