Skip to content

Hide 'Move to' action for media in recycle bin#1068

Open
Phoenix1808 wants to merge 2 commits into
FossifyOrg:mainfrom
Phoenix1808:fix/hide-move-to-recyclebin
Open

Hide 'Move to' action for media in recycle bin#1068
Phoenix1808 wants to merge 2 commits into
FossifyOrg:mainfrom
Phoenix1808:fix/hide-move-to-recyclebin

Conversation

@Phoenix1808

Copy link
Copy Markdown

Fixes #692.

Hides the "Move to" action in the fullscreen viewer (ViewPagerActivity)
when the media is in the recycle bin, where moving isn't supported and
currently just shows an error. This matches the existing behavior in the
grid selection (MediaAdapter) and the sibling menu items here
(menu_rename, menu_hide, menu_add_to_favorites).

Note: I wasn't able to run the app locally yet (Android SDK not set up),
but the change mirrors the established pattern in the same function.
Happy to add screenshots if needed.

@Phoenix1808 Phoenix1808 requested a review from naveensingh as a code owner June 16, 2026 10:49
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.

"move to" in recycle bin should be hidden or grayed out

1 participant