This commit is contained in:
kodjomoustapha 2025-01-06 17:09:18 +01:00
parent 9083dd1af0
commit 13966fbf44

View file

@ -26,12 +26,7 @@ Future<void> fetchSourcesList(
for (var source in sourceList) {
if (source.appMinVerReq != null) {
if (compareVersions(info.version, source.appMinVerReq!) > -1) {
final itm = source.isManga == null
? source.itemType
: source.isManga!
? ItemType.manga
: ItemType.anime;
if (itm == itemType) {
if (source.itemType == itemType) {
if (id != null) {
if (id == source.id) {
final sourc = isar.sources.getSync(id)!;