This commit is contained in:
kodjomoustapha 2023-12-07 18:37:56 +01:00
parent 21f01006ad
commit b92c293d5a
4 changed files with 9 additions and 11 deletions

View file

@ -92,13 +92,12 @@ Future fetchAnimeSourcesList(FetchAnimeSourcesListRef ref,
});
} else {
// log("update aivalable");
isar.writeTxnSync(() => isar.sources
.putSync(sourc..versionLast = source.version));
isar.sources.putSync(sourc..versionLast = source.version);
}
}
}
} else {
isar.writeTxnSync(() => isar.sources.putSync(Source()
isar.sources.putSync(Source()
..sourceCodeUrl = source.sourceCodeUrl
..id = source.id
..sourceCode = source.sourceCode
@ -116,7 +115,7 @@ Future fetchAnimeSourcesList(FetchAnimeSourcesListRef ref,
..versionLast = source.version
..isManga = source.isManga
..isFullData = source.isFullData ?? false
..appMinVerReq = source.appMinVerReq));
..appMinVerReq = source.appMinVerReq);
// log("new source");
}
}

View file

@ -94,13 +94,12 @@ Future fetchMangaSourcesList(FetchMangaSourcesListRef ref,
});
} else {
// log("update aivalable");
isar.writeTxnSync(() => isar.sources
.putSync(sourc..versionLast = source.version));
isar.sources.putSync(sourc..versionLast = source.version);
}
}
}
} else {
isar.writeTxnSync(() => isar.sources.putSync(Source()
isar.sources.putSync(Source()
..sourceCodeUrl = source.sourceCodeUrl
..id = source.id
..sourceCode = source.sourceCode
@ -118,7 +117,7 @@ Future fetchMangaSourcesList(FetchMangaSourcesListRef ref,
..versionLast = source.version
..isManga = source.isManga
..isFullData = source.isFullData ?? false
..appMinVerReq = source.appMinVerReq));
..appMinVerReq = source.appMinVerReq);
// log("new source");
}
}

View file

@ -1552,10 +1552,10 @@ packages:
dependency: transitive
description:
name: xml
sha256: af5e77e9b83f2f4adc5d3f0a4ece1c7f45a2467b695c2540381bac793e34e556
sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
url: "https://pub.dev"
source: hosted
version: "6.4.2"
version: "6.5.0"
xpath_selector:
dependency: transitive
description:

View file

@ -1,7 +1,7 @@
name: mangayomi
description: Free and open source manga reader and anime streaming cross-plateform app inspired by Tachiyomi.
publish_to: 'none'
version: 0.1.3+36
version: 0.1.35+37
environment:
sdk: '>=3.2.0 <4.0.0'