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

fix(#163): remove uninstalled apps from home screen #164

Merged
merged 5 commits into from
Dec 28, 2023

Conversation

hayribakici
Copy link

@hayribakici hayribakici commented Oct 24, 2023

This is a draft PR that fixes #163

@hayribakici hayribakici changed the title #162: Apps still displayed on home screen when uninstalled #163: Apps still displayed on home screen when uninstalled Oct 25, 2023
Copy link
Owner

@jkuester jkuester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thank you!

For what its worth, I could never get _baseRepository.update to actually remove the apps that were not present in the list. I am not sure if I was just missing something there (like a race condition). But I ended up switching to just calling remove and placing all the filtering logic in the MainViewModel. Eventually, I plan to just replace the old SlimLanucher data structures with the new Unlauncher proto data structures. And at that point, the filtering logic can go away....

@jkuester jkuester marked this pull request as ready for review December 28, 2023 22:01
@jkuester jkuester changed the title #163: Apps still displayed on home screen when uninstalled fix(#163): remove uninstalled apps from home screen Dec 28, 2023
@jkuester jkuester merged commit d9518e8 into jkuester:master Dec 28, 2023
1 check passed
@hayribakici
Copy link
Author

@jkuester Thank you for finishing this PR!

@hayribakici hayribakici deleted the #162_uninstalled_home_app branch December 28, 2023 23:21
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.

The application remains on the home screen after it is actually removed from the device.
2 participants