Resolve #615
This commit is contained in:
1 parent
1a86eef52c
commit
80fcda149b
2 files changed
+3
No files matched your search
@@ -84,6 +84,7 @@ abstract class BaseToolbarScene : BaseScene(), ToolBarScene {
|
||||
}
|
||||
|
||||
fun setTitle(title: CharSequence?) {
|
||||
_binding ?: return
|
||||
binding.toolbar.title = title
|
||||
}
|
||||
|
||||
|
||||
@@ -319,6 +319,7 @@ abstract class SearchBarScene : BaseScene(), ToolBarScene {
|
||||
|
||||
@SuppressLint("NotifyDataSetChanged")
|
||||
private fun updateSuggestions(scrollToTop: Boolean = true) {
|
||||
_binding ?: return
|
||||
viewLifecycleOwner.lifecycleScope.launch {
|
||||
val suggestions = mutableListOf<Suggestion>()
|
||||
mergedSuggestionFlow().collect {
|
||||
@@ -362,6 +363,7 @@ abstract class SearchBarScene : BaseScene(), ToolBarScene {
|
||||
}
|
||||
|
||||
fun showSearchBar() {
|
||||
_binding ?: return
|
||||
binding.appbar.setExpanded(true)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user