SimpMusic
SimpMusic copied to clipboard
Search is broken
Describe the bug Search breaks if you back out of it
To Reproduce Steps to reproduce the behavior:
- Go to search
- onBackButtonPressed
- Go to search again
- Try to make a search and it doesn't show suggestions
- If you submit the search it loads forever
after debugging a bit i found out that in SearchViewModel, getSuggestQuery method, viewModelScope.launch returns an error:
i don't know if this is the cause but i can't figure out anything else