continue reading

This commit is contained in:
2024-12-26 13:59:54 +08:00
parent df42cf320c
commit 2238fcc68f
2 changed files with 15 additions and 0 deletions

View File

@@ -390,6 +390,19 @@ class _LocalFavoritesPageState extends State<_LocalFavoritesPage> {
);
},
),
if (appdata.settings["onClickFavorite"] == "viewDetail")
MenuEntry(
icon: Icons.menu_book_outlined,
text: "Read".tl,
onClick: () {
App.mainNavigatorKey?.currentContext?.to(
() => ReaderWithLoading(
id: c.id,
sourceKey: c.sourceKey,
),
);
},
),
];
},
onTap: (c) {

View File

@@ -25,6 +25,8 @@ class _ReaderWithLoadingState
name: data.name,
chapters: data.chapters,
history: data.history,
initialChapter: data.history.ep,
initialPage: data.history.page,
);
}