mirror of
https://github.com/fcitx5-android/fcitx5-android.git
synced 2026-08-02 20:16:06 +08:00
Clear inline suggestions when none are present
This commit is contained in:
parent
215dd14054
commit
faeb74d703
@ -421,6 +421,8 @@ class KawaiiBarComponent : UniqueViewComponent<KawaiiBarComponent, FrameLayout>(
|
||||
val suggestions = response.inlineSuggestions
|
||||
if (suggestions.isEmpty()) {
|
||||
isInlineSuggestionPresent = false
|
||||
evalIdleUiState()
|
||||
idleUi.inlineSuggestionsBar.clear()
|
||||
return true
|
||||
}
|
||||
var pinned: InlineSuggestion? = null
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user