refactor(mobile): delete local button in new timeline (#19961)

* delete local action button

* include source

* move prompt

* batch
This commit is contained in:
Mert 2025-07-17 00:25:41 +03:00 committed by GitHub
parent eae2471ab5
commit 649221176c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 99 additions and 14 deletions

View file

@ -58,7 +58,7 @@ class AssetDetailBottomSheet extends ConsumerWidget {
),
],
if (asset.storage == AssetState.local) ...[
const DeleteLocalActionButton(),
const DeleteLocalActionButton(source: ActionSource.viewer),
const UploadActionButton(),
],
];