Skip to content

Deduplicator: Show snackbar for deletion results#1104

Merged
d4rken merged 2 commits into
mainfrom
deduplicator_fix_dashboard_feedback
Apr 2, 2024
Merged

Deduplicator: Show snackbar for deletion results#1104
d4rken merged 2 commits into
mainfrom
deduplicator_fix_dashboard_feedback

Conversation

@d4rken

@d4rken d4rken commented Mar 31, 2024

Copy link
Copy Markdown
Member

We were not showing the snackbar for deletion results as we did for the other tools.

d4rken added 2 commits March 31, 2024 19:52
One-Tap-Mode was tied to the viewmodel lifecycle and a combination of the default scan-task and delete-task, if the viewmodel gets collected (e.g. due to ACS opening system settings over SD Maids main UI, than the coroutine that would have launched the follow up deletion task, is cancelled.
The scan task still continues because after a task is launched, it is tied to the global app scope.

So let's fix this by just creating a special One-Click-Task that will internally perform scan + delete.
@d4rken d4rken added enhancement New feature, request, improvement or optimization c: Deduplicator labels Mar 31, 2024
@d4rken d4rken merged commit 877c6de into main Apr 2, 2024
@d4rken d4rken deleted the deduplicator_fix_dashboard_feedback branch April 2, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: Deduplicator enhancement New feature, request, improvement or optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant