fix explore page

This commit is contained in:
2025-01-19 10:06:52 +08:00
parent c6ec38632f
commit 5e3ff48d35

View File

@@ -124,18 +124,7 @@ class _ExplorePageState extends State<ExplorePage>
} }
return NetworkError( return NetworkError(
message: msg, message: msg,
retry: () { retry: onSettingsChanged,
setState(() {
pages = ComicSource.all()
.map((e) => e.explorePages)
.expand((e) => e.map((e) => e.title))
.toList();
controller = TabController(
length: pages.length,
vsync: this,
);
});
},
withAppbar: false, withAppbar: false,
); );
} }