This commit is contained in:
kodjomoustapha 2023-11-01 17:17:41 +01:00
parent 92b053e824
commit c0301750ef
2 changed files with 12 additions and 4 deletions

View file

@ -1032,6 +1032,9 @@ class _MangaChapterPageGalleryState
.future)
.then((value) {
_uChapDataPreload[i] = _uChapDataPreload[i]..cropImage = value;
if (mounted) {
setState(() {});
}
});
}
}
@ -1045,11 +1048,13 @@ class _MangaChapterPageGalleryState
datas: _uChapDataPreload[index], cropBorder: true)
.future)
.then((value) {
_uChapDataPreload[index] = _uChapDataPreload[index]
..cropImage = value;
_uChapDataPreload[index] = _uChapDataPreload[index]..cropImage = value;
});
if (mounted) {
setState(() {});
}
} else {
if (_uChapDataPreload[index].isLocale! &&
if (!_uChapDataPreload[index].isLocale! &&
_uChapDataPreload[index].cropImage == null) {
ref
.watch(cropBordersProvider(
@ -1059,6 +1064,9 @@ class _MangaChapterPageGalleryState
_uChapDataPreload[index] = _uChapDataPreload[index]
..cropImage = value;
});
if (mounted) {
setState(() {});
}
}
}
}

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.0.6+24
version: 0.0.65+25
environment:
sdk: '>=3.1.3 <4.0.0'