diff options
| author | Mohamed Zenadi <mohamed@zenadi.com> | 2017-03-27 22:47:33 +0200 |
|---|---|---|
| committer | Mohamed Zenadi <mohamed@zenadi.com> | 2017-03-27 22:47:33 +0200 |
| commit | 824845bf41227c9ee0891f6d0299efe0f067ce00 (patch) | |
| tree | 99570fbcde21a737b635ae54e64a8fedaa8d0f8e /app/src/main/java/com/zeapo/pwdstore/utils | |
| parent | d888e5e2f25ca1308a5a34a17b5c585edeb30881 (diff) | |
| download | HardenedPass-824845bf41227c9ee0891f6d0299efe0f067ce00.tar.gz HardenedPass-824845bf41227c9ee0891f6d0299efe0f067ce00.zip | |
fix git rm and sync
fixes #276
fixes #283
Diffstat (limited to 'app/src/main/java/com/zeapo/pwdstore/utils')
| -rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/utils/EntryRecyclerAdapter.java | 2 | ||||
| -rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/utils/EntryRecyclerAdapter.java b/app/src/main/java/com/zeapo/pwdstore/utils/EntryRecyclerAdapter.java index 78b81928..5247c6a3 100644 --- a/app/src/main/java/com/zeapo/pwdstore/utils/EntryRecyclerAdapter.java +++ b/app/src/main/java/com/zeapo/pwdstore/utils/EntryRecyclerAdapter.java @@ -105,7 +105,7 @@ public abstract class EntryRecyclerAdapter extends RecyclerView.Adapter<EntryRec holder.name.setText(pass.toString()); } - holder.type.setText(pass.getFullPathName()); + holder.type.setText(pass.getFullPathToParent()); if (pass.getType() == PasswordItem.TYPE_CATEGORY) { // holder.card.setCardBackgroundColor(activity.getResources().getColor(R.color.blue_grey_200)); } else { diff --git a/app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java b/app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java index 7fa88085..2d9086ea 100644 --- a/app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java +++ b/app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java @@ -11,7 +11,7 @@ public class PasswordItem implements Comparable{ private String name; private PasswordItem parent; private File file; - private String fullPathName; + private String fullPathToParent; public boolean selected = false; /** Create a password item @@ -26,7 +26,7 @@ public class PasswordItem implements Comparable{ this.parent = parent; this.type = type; this.file = file; - this.fullPathName = file.getAbsolutePath().replace(rootDir.getAbsolutePath(), "").replace(file.getName(), ""); + this.fullPathToParent = file.getAbsolutePath().replace(rootDir.getAbsolutePath(), "").replace(file.getName(), ""); } /** Create a new Category item @@ -83,8 +83,8 @@ public class PasswordItem implements Comparable{ return this.file; } - public String getFullPathName() { - return this.fullPathName; + public String getFullPathToParent() { + return this.fullPathToParent; } @Override |
