This commit is contained in:
kunfei committed 2022-10-17 15:48:19 +08:00
1 parent d26a2733e0
commit 975f26c9f6
1 file changed
+6 -2
@@ -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")
}
} }
} }
} }