make explore pages keep alive and listen for settings change

This commit is contained in:
nyne
2024-11-02 10:00:23 +08:00
parent 2d628ec9b1
commit 2db3f5a72e
4 changed files with 109 additions and 38 deletions

View File

@@ -872,6 +872,7 @@ class ComicListState extends State<ComicList> {
try {
if (widget.loadPage != null) {
var res = await widget.loadPage!(page);
if(!mounted) return;
if (res.success) {
if (res.data.isEmpty) {
_data[page] = const [];