mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 06:15:48 +00:00
Make passwords sort case insensitive (#290)
This commit is contained in:
committed by
Mohamed Zenadi
parent
e61a656c6c
commit
94c9b5be64
@@ -104,6 +104,6 @@ public class PasswordItem implements Comparable{
|
|||||||
PasswordItem other = (PasswordItem) o;
|
PasswordItem other = (PasswordItem) o;
|
||||||
// Appending the type will make the sort type dependent
|
// Appending the type will make the sort type dependent
|
||||||
return (this.getType() + this.getName())
|
return (this.getType() + this.getName())
|
||||||
.compareTo(other.getType() + other.getName());
|
.compareToIgnoreCase(other.getType() + other.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user