From 0d5672dd116b1d5c8c6b60944e682d21644cbeff Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 5 Nov 2019 02:20:34 +0530 Subject: Switch up folder icon Signed-off-by: Harsh Shandilya --- .../com/zeapo/pwdstore/ui/adapters/EntryRecyclerAdapter.kt | 2 +- app/src/main/res/drawable/ic_folder_tinted_24dp.xml | 10 ---------- app/src/main/res/drawable/ic_multiple_files_tinted_24dp.xml | 10 ++++++++++ app/src/main/res/layout/password_row_layout.xml | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 app/src/main/res/drawable/ic_folder_tinted_24dp.xml create mode 100644 app/src/main/res/drawable/ic_multiple_files_tinted_24dp.xml diff --git a/app/src/main/java/com/zeapo/pwdstore/ui/adapters/EntryRecyclerAdapter.kt b/app/src/main/java/com/zeapo/pwdstore/ui/adapters/EntryRecyclerAdapter.kt index e8822929..176f4a82 100644 --- a/app/src/main/java/com/zeapo/pwdstore/ui/adapters/EntryRecyclerAdapter.kt +++ b/app/src/main/java/com/zeapo/pwdstore/ui/adapters/EntryRecyclerAdapter.kt @@ -80,7 +80,7 @@ abstract class EntryRecyclerAdapter internal constructor(val values: ArrayList

File(current, name).isFile } ?: emptyArray()).size if (childCount > 0) { diff --git a/app/src/main/res/drawable/ic_folder_tinted_24dp.xml b/app/src/main/res/drawable/ic_folder_tinted_24dp.xml deleted file mode 100644 index 51380a42..00000000 --- a/app/src/main/res/drawable/ic_folder_tinted_24dp.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_multiple_files_tinted_24dp.xml b/app/src/main/res/drawable/ic_multiple_files_tinted_24dp.xml new file mode 100644 index 00000000..b8c2edab --- /dev/null +++ b/app/src/main/res/drawable/ic_multiple_files_tinted_24dp.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/layout/password_row_layout.xml b/app/src/main/res/layout/password_row_layout.xml index c48349fe..bf7763ae 100644 --- a/app/src/main/res/layout/password_row_layout.xml +++ b/app/src/main/res/layout/password_row_layout.xml @@ -18,7 +18,7 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" - tools:src="@drawable/ic_folder_tinted_24dp" /> + tools:src="@drawable/ic_multiple_files_tinted_24dp" />