mirror of
https://github.com/immich-app/immich.git
synced 2025-01-17 01:06:46 +01:00
feat(mobile): Add pull to refresh to sharing page (#9274)
* Add pull to refresh to sharing page * Fix format
This commit is contained in:
parent
4e7966c8e8
commit
e4b777ecef
1 changed files with 39 additions and 34 deletions
|
@ -220,7 +220,11 @@ class SharingPage extends HookConsumerWidget {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Scaffold(
|
return RefreshIndicator(
|
||||||
|
onRefresh: () async {
|
||||||
|
ref.read(sharedAlbumProvider.notifier).getAllSharedAlbums();
|
||||||
|
},
|
||||||
|
child: Scaffold(
|
||||||
appBar: ImmichAppBar(
|
appBar: ImmichAppBar(
|
||||||
action: sharePartnerButton(),
|
action: sharePartnerButton(),
|
||||||
),
|
),
|
||||||
|
@ -266,6 +270,7 @@ class SharingPage extends HookConsumerWidget {
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue