Hide deactivated files from update list
This commit is contained in:
parent
7116228346
commit
159df7be86
1 changed files with 9 additions and 7 deletions
|
@ -244,19 +244,21 @@ public class UpdatesIndexFragment extends ListFragment {
|
||||||
+ indexActivatedFileNames.get(sfName));
|
+ indexActivatedFileNames.get(sfName));
|
||||||
name.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
name.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
||||||
} else if (e.getDate(format).equals(indexFileNames.get(sfName))) {
|
} else if (e.getDate(format).equals(indexFileNames.get(sfName))) {
|
||||||
name.setText(name.getText() + "\n" + getResources().getString(R.string.local_index_installed) + " : "
|
//Hide deactivated files from update list
|
||||||
+ indexFileNames.get(sfName));
|
//name.setText(name.getText() + "\n" + getResources().getString(R.string.local_index_installed) + " : "
|
||||||
name.setTypeface(Typeface.DEFAULT, Typeface.ITALIC);
|
// + indexFileNames.get(sfName));
|
||||||
|
//name.setTypeface(Typeface.DEFAULT, Typeface.ITALIC);
|
||||||
} else if (updatableResource) {
|
} else if (updatableResource) {
|
||||||
name.setText(name.getText() + "\n" + getResources().getString(R.string.local_index_installed) + " : "
|
name.setText(name.getText() + "\n" + getResources().getString(R.string.local_index_installed) + " : "
|
||||||
+ indexActivatedFileNames.get(sfName));
|
+ indexActivatedFileNames.get(sfName));
|
||||||
name.setTextColor(updateColor); // LIGHT_BLUE
|
name.setTextColor(updateColor); // LIGHT_BLUE
|
||||||
name.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
name.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
||||||
} else {
|
} else {
|
||||||
name.setText(name.getText() + "\n" + getResources().getString(R.string.local_index_installed) + " : "
|
//Hide deactivated files from update list
|
||||||
+ indexFileNames.get(sfName));
|
//name.setText(name.getText() + "\n" + getResources().getString(R.string.local_index_installed) + " : "
|
||||||
name.setTextColor(updateColor); // LIGHT_BLUE
|
// + indexFileNames.get(sfName));
|
||||||
name.setTypeface(Typeface.DEFAULT, Typeface.ITALIC);
|
//name.setTextColor(updateColor); // LIGHT_BLUE
|
||||||
|
//name.setTypeface(Typeface.DEFAULT, Typeface.ITALIC);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue