#1471 allow rescan of trashed items

This commit is contained in:
Thibault Deckers 2025-03-10 23:09:32 +01:00
parent a32c0cf0f0
commit f646639055
2 changed files with 3 additions and 3 deletions

View file

@ -97,7 +97,7 @@ class EntrySetActionDelegate with FeedbackMixin, PermissionAwareMixin, SizeAware
case EntrySetAction.stats:
return isMain;
case EntrySetAction.rescan:
return isMain && isSelecting && !isTrash && !useTvLayout;
return isMain && isSelecting && !useTvLayout;
// selecting
case EntrySetAction.share:
case EntrySetAction.toggleFavourite:

View file

@ -61,7 +61,7 @@ class EntryActionDelegate with FeedbackMixin, PermissionAwareMixin, SizeAwareMix
case EntryAction.restore:
return true;
case EntryAction.debug:
return kDebugMode;
return !kReleaseMode;
default:
return false;
}
@ -138,7 +138,7 @@ class EntryActionDelegate with FeedbackMixin, PermissionAwareMixin, SizeAwareMix
action: action,
);
case EntryAction.debug:
return kDebugMode;
return !kReleaseMode;
}
}
}