mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 09:15:35 +03: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:
@@ -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 {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user