Bug fix whitespace hashtag
This commit is contained in:
parent
4168d9c0e7
commit
876b1fe1c3
|
@ -118,7 +118,7 @@ class ArrangeTabsFragment: DialogFragment() {
|
|||
checkBox.isChecked = model.uiState.value.tabsChecked[position].second
|
||||
|
||||
fun callbackOnClickListener(tabNew: Tab, isCheckedNew: Boolean, hashtag: String? = null) {
|
||||
tabNew.filter = hashtag?.split("#")?.filter { it.isNotBlank() }?.get(0)
|
||||
tabNew.filter = hashtag?.split("#")?.filter { it.isNotBlank() }?.get(0)?.trim()
|
||||
model.tabsCheckReplace(position, Pair(tabNew, isCheckedNew))
|
||||
checkBox.isChecked = isCheckedNew
|
||||
|
||||
|
|
Loading…
Reference in New Issue