fix
This commit is contained in:
parent
9083dd1af0
commit
13966fbf44
1 changed files with 1 additions and 6 deletions
|
|
@ -26,12 +26,7 @@ Future<void> fetchSourcesList(
|
||||||
for (var source in sourceList) {
|
for (var source in sourceList) {
|
||||||
if (source.appMinVerReq != null) {
|
if (source.appMinVerReq != null) {
|
||||||
if (compareVersions(info.version, source.appMinVerReq!) > -1) {
|
if (compareVersions(info.version, source.appMinVerReq!) > -1) {
|
||||||
final itm = source.isManga == null
|
if (source.itemType == itemType) {
|
||||||
? source.itemType
|
|
||||||
: source.isManga!
|
|
||||||
? ItemType.manga
|
|
||||||
: ItemType.anime;
|
|
||||||
if (itm == itemType) {
|
|
||||||
if (id != null) {
|
if (id != null) {
|
||||||
if (id == source.id) {
|
if (id == source.id) {
|
||||||
final sourc = isar.sources.getSync(id)!;
|
final sourc = isar.sources.getSync(id)!;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue