mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
continue reading
This commit is contained in:
@@ -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) {
|
onTap: (c) {
|
||||||
|
@@ -25,6 +25,8 @@ class _ReaderWithLoadingState
|
|||||||
name: data.name,
|
name: data.name,
|
||||||
chapters: data.chapters,
|
chapters: data.chapters,
|
||||||
history: data.history,
|
history: data.history,
|
||||||
|
initialChapter: data.history.ep,
|
||||||
|
initialPage: data.history.page,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user