Order story viewer names alphabetically.

This commit is contained in:
Nicholas Tinsley
2024-04-12 18:13:45 -04:00
committed by Greyson Parrelli
parent 29b3f09d8a
commit a83abaca1d

View File

@@ -75,7 +75,7 @@ class StoryViewsFragment :
private fun getConfiguration(state: StoryViewsState): DSLConfiguration {
return configure {
state.views.forEach { storyViewItemData ->
state.views.sortedBy { it.recipient.getDisplayName(requireContext()) }.forEach { storyViewItemData ->
customPref(
StoryViewItem.Model(
storyViewItemData = storyViewItemData,