#1471 allow rescan of trashed items
This commit is contained in:
parent
a32c0cf0f0
commit
f646639055
2 changed files with 3 additions and 3 deletions
|
@ -97,7 +97,7 @@ class EntrySetActionDelegate with FeedbackMixin, PermissionAwareMixin, SizeAware
|
||||||
case EntrySetAction.stats:
|
case EntrySetAction.stats:
|
||||||
return isMain;
|
return isMain;
|
||||||
case EntrySetAction.rescan:
|
case EntrySetAction.rescan:
|
||||||
return isMain && isSelecting && !isTrash && !useTvLayout;
|
return isMain && isSelecting && !useTvLayout;
|
||||||
// selecting
|
// selecting
|
||||||
case EntrySetAction.share:
|
case EntrySetAction.share:
|
||||||
case EntrySetAction.toggleFavourite:
|
case EntrySetAction.toggleFavourite:
|
||||||
|
|
|
@ -61,7 +61,7 @@ class EntryActionDelegate with FeedbackMixin, PermissionAwareMixin, SizeAwareMix
|
||||||
case EntryAction.restore:
|
case EntryAction.restore:
|
||||||
return true;
|
return true;
|
||||||
case EntryAction.debug:
|
case EntryAction.debug:
|
||||||
return kDebugMode;
|
return !kReleaseMode;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ class EntryActionDelegate with FeedbackMixin, PermissionAwareMixin, SizeAwareMix
|
||||||
action: action,
|
action: action,
|
||||||
);
|
);
|
||||||
case EntryAction.debug:
|
case EntryAction.debug:
|
||||||
return kDebugMode;
|
return !kReleaseMode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue