diff --git a/app/src/main/java/org/pixeldroid/app/settings/ArrangeTabsFragment.kt b/app/src/main/java/org/pixeldroid/app/settings/ArrangeTabsFragment.kt index 0d268c10..e7566895 100644 --- a/app/src/main/java/org/pixeldroid/app/settings/ArrangeTabsFragment.kt +++ b/app/src/main/java/org/pixeldroid/app/settings/ArrangeTabsFragment.kt @@ -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