mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
background upload plugin
add schemas sync variants formatting initial implementation use existing db, wip move to separate folder fix table definitions wip wiring it up
This commit is contained in:
@@ -37,10 +37,7 @@ class ShareIntentPage extends HookConsumerWidget {
|
||||
}
|
||||
|
||||
void upload() async {
|
||||
for (final attachment in candidates) {
|
||||
await ref.read(shareIntentUploadProvider.notifier).upload(attachment.file);
|
||||
}
|
||||
|
||||
await ref.read(shareIntentUploadProvider.notifier).upload(candidates);
|
||||
isUploaded.value = true;
|
||||
}
|
||||
|
||||
@@ -212,6 +209,11 @@ class UploadStatusIcon extends StatelessWidget {
|
||||
color: context.primaryColor,
|
||||
semanticLabel: 'paused'.tr(),
|
||||
),
|
||||
UploadStatus.preparing => Icon(
|
||||
Icons.hourglass_top_rounded,
|
||||
color: context.primaryColor,
|
||||
semanticLabel: 'preparing'.tr(),
|
||||
),
|
||||
};
|
||||
|
||||
return statusIcon;
|
||||
|
||||
Reference in New Issue
Block a user