Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kodjodevf committed Dec 7, 2023
1 parent 21f0100 commit b92c293
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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");
}
}
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit b92c293

Please sign in to comment.