compare the items in an incasesensitive way

This commit is contained in:
tibbi 2016-10-01 11:18:28 +02:00
parent 13e34f790d
commit 0c30f58f81
6 changed files with 7 additions and 7 deletions

View file

@ -10,7 +10,7 @@ class FileDirItem(val path: String, val name: String, val isDirectory: Boolean,
return 1
}
return name.compareTo(other.name)
return name.toLowerCase().compareTo(other.name.toLowerCase())
}
override fun toString(): String {

View file

@ -60,7 +60,7 @@
<string name="email_label">Invia la tua opinione o i tuoi suggerimenti a:</string>
<string name="third_party_licences_underlined"><u>Licenze di terze parti</u></string>
<string name="invite_friends_underlined"><u>Invita amici</u></string>
<string name="share_text">Hey, dai un'occhiata a %1$s su %2$s</string>
<string name="share_text">Hey, dai un\'occhiata a %1$s su %2$s</string>
<string name="invite_via">Invita via</string>
<string name="rate_us_underlined"><u>Dacci un voto sul Play Store</u></string>
<string name="follow_us">Seguici:</string>