Re-setting suggestionsFetchJob

This commit is contained in:
dankito 2024-09-09 22:54:07 +02:00
parent 685adad6b3
commit a92d6a1401
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ fun <T> AutocompleteTextField(
suggestions = fetchSuggestions(query)
suggestionsFetchJob = null
isLoading = false
if (expanded == false && suggestions.isNotEmpty()) {
expanded = true