File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
java/com/wire/android/feature/cells/ui Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -532,7 +532,7 @@ class CellViewModel @Inject constructor(
532532 }
533533
534534 suspend fun loadTags () {
535- getAllTagsUseCase().onSuccess { updated -> _tags .update { updated } }
535+ getAllTagsUseCase().onSuccess { updated -> _tags .update { updated.sorted().toSet() } }
536536 // apply delay to avoid too frequent requests
537537 delay(30 .seconds)
538538 }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ class AddRemoveTagsViewModel @Inject constructor(
6666 private val _suggestedTags = MutableStateFlow <Set <String >>(emptySet())
6767 internal val suggestedTags =
6868 allTags.combine(addedTags) { all, added ->
69- all.filter { it !in added }.toSet()
69+ all.filter { it !in added }.toSet().sorted()
7070 }.stateIn(viewModelScope, SharingStarted .WhileSubscribed (), emptySet())
7171
7272 init {
Original file line number Diff line number Diff line change 120120 <string name =" no_tags_message" >No tags were added yet.</string >
121121 <string name =" tags_edited" >Tags were edited</string >
122122 <string name =" failed_edit_tags" >Unable to add or remove tags</string >
123+ <string name =" create_folder_invalid_name" >Use a name without "/"</string >
123124 <string name =" file_list_empty_title" >There are no files or folders yet</string >
124125 <string name =" no_results_found_label" >No results found</string >
125126 <string name =" filters_try_adjusting_your_filters_label" >Try adjusting your filters.</string >
You can’t perform that action at this time.
0 commit comments