This commit is contained in:
kunfei
2022-10-17 15:48:19 +08:00
parent 73b72d8e6e
commit b6240d2839
@@ -187,7 +187,9 @@ class SearchScopeDialog : BaseDialogFragment(R.layout.dialog_search_scope) {
} else { } else {
selectGroups.remove(it) selectGroups.remove(it)
} }
notifyItemRangeChanged(0, itemCount, "up") buttonView.post {
notifyItemRangeChanged(0, itemCount, "up")
}
} }
} }
} }
@@ -201,7 +203,9 @@ class SearchScopeDialog : BaseDialogFragment(R.layout.dialog_search_scope) {
if (isChecked) { if (isChecked) {
selectSource = it selectSource = it
} }
notifyItemRangeChanged(0, itemCount, "up") buttonView.post {
notifyItemRangeChanged(0, itemCount, "up")
}
} }
} }
} }