This commit is contained in:
2023-11-28 16:20:38 +08:00
parent f432967c12
commit 83fda5ae45

View File

@@ -107,6 +107,7 @@ class _SinglePageViewer extends State<SinglePageViewer> with ThemeModeWidget {
@override
Widget build(BuildContext context) {
tryInitApi(context);
final isLoading = _error == null && (_data == null || _files == null);
if (isLoading && !_isLoading) _fetchData();
if (_data == null || _files == null) {