mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 14:56:20 +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: [
|
children: [
|
||||||
Container(color: Colors.black),
|
Container(color: Colors.black),
|
||||||
if (!_isViewerLoaded ||
|
if (!_isViewerLoaded ||
|
||||||
!_pageStates[_viewerController.currentPage]!.hasLoaded)
|
_pageStates[_viewerController.currentPage]?.hasLoaded != true)
|
||||||
Align(
|
Align(
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
child: const CircularProgressIndicator(),
|
child: const CircularProgressIndicator(),
|
||||||
|
|
Loading…
Reference in a new issue