1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-15 07:14:42 +02:00

feat(mobile): trash and delete action (#19681)

* feat(mobile): trash and delete action

* fix lint
This commit is contained in:
Daimolean
2025-07-03 01:26:07 +08:00
committed by GitHub
parent b8e67d0ef9
commit a644cabab6
8 changed files with 138 additions and 4 deletions

View File

@ -39,8 +39,10 @@ class HomeBottomAppBar extends ConsumerWidget {
const FavoriteActionButton(source: ActionSource.timeline),
const DownloadActionButton(),
isTrashEnable
? const TrashActionButton()
: const DeletePermanentActionButton(),
? const TrashActionButton(source: ActionSource.timeline)
: const DeletePermanentActionButton(
source: ActionSource.timeline,
),
const EditDateTimeActionButton(),
const EditLocationActionButton(source: ActionSource.timeline),
const MoveToLockFolderActionButton(