We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b09fa0 commit 47f9f29Copy full SHA for 47f9f29
app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt
@@ -99,7 +99,7 @@ class AppViewModel @Inject constructor(
99
fun addTagToSelected(newTag: String) {
100
_sendUiState.update {
101
it.copy(
102
- selectedTags = it.selectedTags + newTag
+ selectedTags = (it.selectedTags + newTag).distinct()
103
)
104
}
105
0 commit comments