summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorƁukasz Rutkowski <lukus178@gmail.com>2017-04-17 13:59:51 +0200
committerMohamed Zenadi <zeapo@users.noreply.github.com>2017-04-17 13:59:51 +0200
commit94c9b5be645d4abcb8f3374c6a4963b5cfa14335 (patch)
treeaa103951aad41174130c9f20b8110b18ec13a374 /app/src/main/java
parente61a656c6ca6405c68bc9368fba82c38d6eb1472 (diff)
Make passwords sort case insensitive (#290)
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java2
1 files changed, 1 insertions, 1 deletions
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 2d9086ea..404091b2 100644
--- a/app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java
+++ b/app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java
@@ -104,6 +104,6 @@ public class PasswordItem implements Comparable{
PasswordItem other = (PasswordItem) o;
// Appending the type will make the sort type dependent
return (this.getType() + this.getName())
- .compareTo(other.getType() + other.getName());
+ .compareToIgnoreCase(other.getType() + other.getName());
}
}