From 083b1c1066bac10108069b68402923417db9808f Mon Sep 17 00:00:00 2001 From: cketti Date: Sat, 9 May 2020 18:05:27 +0200 Subject: [PATCH] Remove unused views from accounts_item layout --- .../com/fsck/k9/activity/AccountList.java | 2 - .../res/layout/accounts_folders_icons.xml | 66 ------------------- app/ui/src/main/res/layout/accounts_item.xml | 32 --------- 3 files changed, 100 deletions(-) delete mode 100644 app/ui/src/main/res/layout/accounts_folders_icons.xml diff --git a/app/ui/src/main/java/com/fsck/k9/activity/AccountList.java b/app/ui/src/main/java/com/fsck/k9/activity/AccountList.java index 0b9c31669..0972e50e8 100644 --- a/app/ui/src/main/java/com/fsck/k9/activity/AccountList.java +++ b/app/ui/src/main/java/com/fsck/k9/activity/AccountList.java @@ -111,8 +111,6 @@ public abstract class AccountList extends K9ListActivity implements OnItemClickL view = convertView; } else { view = getLayoutInflater().inflate(R.layout.accounts_item, parent, false); - view.findViewById(R.id.active_icons).setVisibility(View.GONE); - view.findViewById(R.id.folders).setVisibility(View.GONE); } AccountViewHolder holder = (AccountViewHolder) view.getTag(); diff --git a/app/ui/src/main/res/layout/accounts_folders_icons.xml b/app/ui/src/main/res/layout/accounts_folders_icons.xml deleted file mode 100644 index bd98c6207..000000000 --- a/app/ui/src/main/res/layout/accounts_folders_icons.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/app/ui/src/main/res/layout/accounts_item.xml b/app/ui/src/main/res/layout/accounts_item.xml index fc45e6f2f..0a216c1a7 100644 --- a/app/ui/src/main/res/layout/accounts_item.xml +++ b/app/ui/src/main/res/layout/accounts_item.xml @@ -2,7 +2,6 @@ - - - - - - - - -