mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
use mutex
This commit is contained in:
parent
2f5d75ce21
commit
f8ab533acb
2 changed files with 91 additions and 33 deletions
|
|
@ -73,7 +73,10 @@ class ImmichSliverAppBar extends ConsumerWidget {
|
|||
onPressed: () => context.pop(),
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () => ref.read(backgroundSyncProvider).syncRemote(),
|
||||
onPressed: () {
|
||||
ref.read(backgroundSyncProvider).syncLocal(full: true);
|
||||
ref.read(backgroundSyncProvider).syncRemote();
|
||||
},
|
||||
icon: const Icon(
|
||||
Icons.sync,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue