mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 05:49:03 +08:00
Fix bug
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user