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(
message: msg,
retry: () {
setState(() {
pages = ComicSource.all()
.map((e) => e.explorePages)
.expand((e) => e.map((e) => e.title))
.toList();
controller = TabController(
length: pages.length,
vsync: this,
);
});
},
retry: onSettingsChanged,
withAppbar: false,
);
}