Lint
This commit is contained in:
parent
de9000306b
commit
45f839c5e1
@ -46,7 +46,7 @@ internal class ZipPageLoader(file: File) : PageLoader() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
zip.fileHeaders.asSequence()
|
zip.fileHeaders.asSequence()
|
||||||
.filter { !it.isDirectory && ImageUtil.isImage(it.fileName) { zip.getInputStream(it) } }
|
.filter { !it.isDirectory && ImageUtil.isImage(it.fileName) { zip.getInputStream(it) } }
|
||||||
.forEach { entry ->
|
.forEach { entry ->
|
||||||
zip.extractFile(entry, tmpDir.absolutePath)
|
zip.extractFile(entry, tmpDir.absolutePath)
|
||||||
}
|
}
|
||||||
|
@ -366,7 +366,7 @@ class FavoritesSyncHelper(val context: Context) {
|
|||||||
fav = true,
|
fav = true,
|
||||||
forceSource = exh,
|
forceSource = exh,
|
||||||
throttleFunc = throttleManager::throttle,
|
throttleFunc = throttleManager::throttle,
|
||||||
retry = 3
|
retry = 3,
|
||||||
)
|
)
|
||||||
|
|
||||||
if (result is GalleryAddEvent.Fail) {
|
if (result is GalleryAddEvent.Fail) {
|
||||||
|
@ -73,7 +73,7 @@ class BatchAddScreenModel(
|
|||||||
context = context,
|
context = context,
|
||||||
url = s,
|
url = s,
|
||||||
fav = true,
|
fav = true,
|
||||||
retry = 2
|
retry = 2,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (result is GalleryAddEvent.Success) {
|
if (result is GalleryAddEvent.Success) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user