mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
Run dart fix
This commit is contained in:
@@ -172,7 +172,7 @@ class _ComicPageState extends LoadingState<ComicPage, ComicDetails>
|
|||||||
isLiked = comic.isLiked ?? false;
|
isLiked = comic.isLiked ?? false;
|
||||||
isFavorite = comic.isFavorite ?? false;
|
isFavorite = comic.isFavorite ?? false;
|
||||||
if (comic.chapters == null) {
|
if (comic.chapters == null) {
|
||||||
isDownloaded = await LocalManager().isDownloaded(
|
isDownloaded = LocalManager().isDownloaded(
|
||||||
comic.id,
|
comic.id,
|
||||||
comic.comicType,
|
comic.comicType,
|
||||||
0,
|
0,
|
||||||
@@ -679,7 +679,7 @@ abstract mixin class _ComicPageActions {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (comic.chapters == null &&
|
if (comic.chapters == null &&
|
||||||
await LocalManager().isDownloaded(comic.id, comic.comicType, 0)) {
|
LocalManager().isDownloaded(comic.id, comic.comicType, 0)) {
|
||||||
App.rootContext.showMessage(message: "The comic is downloaded".tl);
|
App.rootContext.showMessage(message: "The comic is downloaded".tl);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -25,7 +25,7 @@ class _ReaderImagesState extends State<_ReaderImages> {
|
|||||||
if (inProgress) return;
|
if (inProgress) return;
|
||||||
inProgress = true;
|
inProgress = true;
|
||||||
if (reader.type == ComicType.local ||
|
if (reader.type == ComicType.local ||
|
||||||
(await LocalManager()
|
(LocalManager()
|
||||||
.isDownloaded(reader.cid, reader.type, reader.chapter))) {
|
.isDownloaded(reader.cid, reader.type, reader.chapter))) {
|
||||||
try {
|
try {
|
||||||
var images = await LocalManager()
|
var images = await LocalManager()
|
||||||
|
Reference in New Issue
Block a user