diff --git a/src/components/SearchScreen/SearchScreen.bs b/src/components/SearchScreen/SearchScreen.bs index e82ec4d1..b0ce6ac8 100644 --- a/src/components/SearchScreen/SearchScreen.bs +++ b/src/components/SearchScreen/SearchScreen.bs @@ -67,7 +67,7 @@ function OnTextChange() as void buttonFocused = m.suggestions.buttonFocused end if if buttonFocused >= m.suggestions.buttons.Count() - buttonFocused = m.suggestions.buttons.Count() -1 + buttonFocused = m.suggestions.buttons.Count() - 1 end if m.suggestions.buttons = suggestions if buttonFocused <> -1