mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 10:54:36 -06:00
[Messages/Compose] Fix recipient adding dialog empty.
This commit is contained in:
parent
692555732d
commit
fe82c86c93
@ -62,10 +62,12 @@ class MessagesComposeChipCreator(
|
||||
Teacher.TYPE_EDUCATOR,
|
||||
Teacher.TYPE_STUDENT
|
||||
)
|
||||
|
||||
val adapter = nacho.adapter as? MessagesComposeSuggestionAdapter ?: return null
|
||||
val teachers = if (sortByCategory)
|
||||
teacherList.sortedBy { it.typeDescription }
|
||||
adapter.originalList.sortedBy { it.typeDescription }
|
||||
else
|
||||
teacherList
|
||||
adapter.originalList
|
||||
|
||||
val category = mutableListOf<Teacher>()
|
||||
val categoryNames = mutableListOf<CharSequence>()
|
||||
|
Loading…
Reference in New Issue
Block a user