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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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(