Skip to content

Fix empty state showing incorrectly #1117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 29, 2025

Conversation

SessionHero01
Copy link
Collaborator

We use to call updateEmptyState when you close search screen, but we have tidied up the view model, the home screen's state has nothing to do with search anymore, so it's actually harmful to call the updateEmptyState from the search's perspective: so in previous refactoring of search screen, the setSearchShown is tied to the view model's state so it gets called even when you haven't done anything to the search (it's to make sure we execute the UI states needed for a "hidden" search).

This PR removes the empty state meddling from the search logic and now it shows the right screen.

@SessionHero01 SessionHero01 merged commit 6f72d38 into release/1.23.0 Apr 29, 2025
4 checks passed
@SessionHero01 SessionHero01 deleted the fix-slow-home-loading branch April 29, 2025 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants