mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Fix exception when showing the shared album info dialog
This commit is contained in:
parent
dc4cf7d5bd
commit
1404717574
1 changed files with 3 additions and 1 deletions
|
@ -136,7 +136,9 @@ class _WrappedCollectionBrowserState extends State<_WrappedCollectionBrowser>
|
|||
|
||||
if (_bloc.state.collection.shares.isNotEmpty &&
|
||||
_bloc.state.collection.contentProvider is CollectionAlbumProvider) {
|
||||
_showSharedAlbumInfoDialog();
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
_showSharedAlbumInfoDialog();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue