mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: address ios native review issues
This commit is contained in:
@@ -183,6 +183,7 @@ class LiquidTabsPlugin : Plugin() {
|
||||
if (tab.role == "search") {
|
||||
showSearchUi()
|
||||
} else {
|
||||
clearSearchUi()
|
||||
hideSearchUi()
|
||||
}
|
||||
|
||||
@@ -418,6 +419,11 @@ class LiquidTabsPlugin : Plugin() {
|
||||
container.visibility = View.VISIBLE
|
||||
}
|
||||
|
||||
private fun clearSearchUi() {
|
||||
searchInput?.setText("")
|
||||
resultsContainer?.removeAllViews()
|
||||
}
|
||||
|
||||
private fun hideSearchUi() {
|
||||
searchContainer?.visibility = View.GONE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user