1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-09 16:58:55 +01:00

Fix exception when showing the shared album info dialog

This commit is contained in:
Ming Ming 2023-09-11 00:27:25 +08:00
parent dc4cf7d5bd
commit 1404717574

View file

@ -136,7 +136,9 @@ class _WrappedCollectionBrowserState extends State<_WrappedCollectionBrowser>
if (_bloc.state.collection.shares.isNotEmpty &&
_bloc.state.collection.contentProvider is CollectionAlbumProvider) {
WidgetsBinding.instance.addPostFrameCallback((_) {
_showSharedAlbumInfoDialog();
});
}
}