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 files that persist in the gallery when deleted in the preview #1440

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TommyDL-Infomaniak
Copy link
Contributor

@TommyDL-Infomaniak TommyDL-Infomaniak commented Sep 27, 2024

No description provided.

@TommyDL-Infomaniak TommyDL-Infomaniak added bug Something isn't working quick A pull request consisting of a few lines labels Sep 27, 2024
@TommyDL-Infomaniak TommyDL-Infomaniak self-assigned this Sep 27, 2024
@github-actions github-actions bot added the dependent This MR depends on another PR label Sep 27, 2024
Copy link

sonarcloud bot commented Sep 27, 2024

@tevincent tevincent requested a review from a team October 1, 2024 07:30
@@ -438,6 +439,7 @@ class PreviewSliderFragment : Fragment(), FileInfoActionsView.OnItemClickListene
removeFileInSlider()
showSnackbar(getString(R.string.snackbarMoveTrashConfirmation, currentFile.name))
mainViewModel.deleteFileFromHome.value = true
setBackNavigationResult(DELETE_FILE_KEY, currentFile.id, withPopBackStack = false)
Copy link
Contributor

@KevinBoulongne KevinBoulongne Oct 1, 2024

Choose a reason for hiding this comment

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

Maybe use a SingleLiveEvent instead of tweaking an existing system that is not designed for this use case ?

@github-actions github-actions bot removed the dependent This MR depends on another PR label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working quick A pull request consisting of a few lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants