mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
fix explore page
This commit is contained in:
@@ -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,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user