Closed cullub closed 2 years ago
Problem is that HomeActivity.kt's focusSearch()
function calls searchView
before it's initialized (it's a lateinit).
fun focusSearch() {
searchView.requestFocusFromTouch()
searchMenuItem.expandActionView()
}
line 39 has val searchView
-- maybe delete val
? Must check whether search box actually opens after changes.
If no favorites are selected yet, the app will show "There are no tabs here; [Find a Song]". Clicking Find a Song crashes the app. 49 occurrences in prod.
Expected:
Clicking Find a Song activates the search bar on top
Actual:
Clicking Find a Song crashes app
Crashlog: