mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
fix parsing configs
This commit is contained in:
@@ -291,8 +291,6 @@ class AccountConfig {
|
||||
|
||||
final void Function() logout;
|
||||
|
||||
final bool allowReLogin;
|
||||
|
||||
final List<AccountInfoItem> infoItems;
|
||||
|
||||
final bool Function(String url, String title)? checkLoginStatus;
|
||||
@@ -312,8 +310,7 @@ class AccountConfig {
|
||||
this.onLoginWithWebviewSuccess,
|
||||
this.cookieFields,
|
||||
this.validateCookies,
|
||||
) : allowReLogin = true,
|
||||
infoItems = const [];
|
||||
) : infoItems = const [];
|
||||
}
|
||||
|
||||
class AccountInfoItem {
|
||||
|
@@ -657,7 +657,7 @@ class ComicSourceParser {
|
||||
|
||||
Future<Res<List<Comic>>> Function(String? next, [String? folder])? loadNext;
|
||||
|
||||
if (_checkExists("favorites.loadComic")) {
|
||||
if (_checkExists("favorites.loadComics")) {
|
||||
loadComic = (int page, [String? folder]) async {
|
||||
Future<Res<List<Comic>>> func() async {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user