mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-03-01 17:47:44 +01:00
fix #131, properly sort groups containing UTF characters
This commit is contained in:
parent
8636636266
commit
457110e869
@ -154,7 +154,7 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
storedGroups = storedGroups.asSequence().sortedWith(compareBy { it.title }).toMutableList() as ArrayList<Group>
|
storedGroups = storedGroups.asSequence().sortedWith(compareBy { it.title.normalizeString() }).toMutableList() as ArrayList<Group>
|
||||||
|
|
||||||
fragment_placeholder_2.beVisibleIf(storedGroups.isEmpty())
|
fragment_placeholder_2.beVisibleIf(storedGroups.isEmpty())
|
||||||
fragment_placeholder.beVisibleIf(storedGroups.isEmpty())
|
fragment_placeholder.beVisibleIf(storedGroups.isEmpty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user