Skip to content
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

Catch errors on content scan #150

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

Abestanis
Copy link
Collaborator

@Abestanis Abestanis commented Jul 24, 2024

Depends on #149.

Previously, when there was any error in ContentControl.init (which basically calls every other init), the _initializeCompleter would have never been completed, which either caused and endless search spinner if the user just granted permissions, or it would case the app to get stuck on the splash screen, which was really unpleasant.

Now we catch any errors and make sure to complete the _initializeCompleter. When an error occurred, we would just show the "no songs" screen, which I think is unhelpful, so I added an error screen.

New error screen

This implements the second checkbox of #127.

@Abestanis Abestanis added the enhancement New feature or request label Jul 24, 2024
@Abestanis Abestanis requested a review from nt4f04uNd July 24, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant