Remove list view in preparation for grid redesign

This commit is contained in:
Cameron Gutman
2020-06-11 21:21:37 -07:00
parent 1149002e0c
commit 6fa18e126f
21 changed files with 8 additions and 75 deletions

View File

@@ -41,10 +41,7 @@ public class AppGridAdapter extends GenericGridAdapter<AppView.AppObject> {
}
private static int getLayoutIdForPreferences(PreferenceConfiguration prefs) {
if (prefs.listMode) {
return R.layout.simple_row;
}
else if (prefs.smallIconMode) {
if (prefs.smallIconMode) {
return R.layout.app_grid_item_small;
}
else {

View File

@@ -22,10 +22,7 @@ public class PcGridAdapter extends GenericGridAdapter<PcView.ComputerObject> {
}
private static int getLayoutIdForPreferences(PreferenceConfiguration prefs) {
if (prefs.listMode) {
return R.layout.simple_row;
}
else if (prefs.smallIconMode) {
if (prefs.smallIconMode) {
return R.layout.pc_grid_item_small;
}
else {