mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
Fix a rare NPE
This commit is contained in:
parent
3151e088bc
commit
e41df68898
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class _ViewerState extends State<Viewer>
|
|||
children: [
|
||||
Container(color: Colors.black),
|
||||
if (!_isViewerLoaded ||
|
||||
!_pageStates[_viewerController.currentPage]!.hasLoaded)
|
||||
_pageStates[_viewerController.currentPage]?.hasLoaded != true)
|
||||
Align(
|
||||
alignment: Alignment.center,
|
||||
child: const CircularProgressIndicator(),
|
||||
|
|
Loading…
Reference in a new issue