mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
favorite
This commit is contained in:
@@ -7,6 +7,7 @@ import 'dart:math' as math;
|
||||
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:venera/foundation/app.dart';
|
||||
import 'package:venera/foundation/comic_type.dart';
|
||||
import 'package:venera/foundation/history.dart';
|
||||
import 'package:venera/foundation/res.dart';
|
||||
import 'package:venera/utils/ext.dart';
|
||||
@@ -514,6 +515,8 @@ class ComicDetails with HistoryMixin {
|
||||
|
||||
@override
|
||||
String get id => comicId;
|
||||
|
||||
ComicType get comicType => ComicType(sourceKey.hashCode);
|
||||
}
|
||||
|
||||
typedef CategoryComicsLoader = Future<Res<List<Comic>>> Function(
|
||||
|
@@ -96,7 +96,7 @@ class LocalFavoritesManager {
|
||||
""");
|
||||
}
|
||||
|
||||
Future<List<String>> find(String id, ComicType type) async {
|
||||
List<String> find(String id, ComicType type) {
|
||||
var res = <String>[];
|
||||
for (var folder in folderNames) {
|
||||
var rows = _db.select("""
|
||||
|
Reference in New Issue
Block a user