diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 05ea0208..cc9afc9f 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -7,7 +7,6 @@
diff --git a/app/src/main/java/dev/arkbuilders/navigator/data/stats/category/TagLabeledNStorage.kt b/app/src/main/java/dev/arkbuilders/navigator/data/stats/category/TagLabeledNStorage.kt
index 8ba67873..645b7c2c 100644
--- a/app/src/main/java/dev/arkbuilders/navigator/data/stats/category/TagLabeledNStorage.kt
+++ b/app/src/main/java/dev/arkbuilders/navigator/data/stats/category/TagLabeledNStorage.kt
@@ -27,8 +27,13 @@ class TagLabeledNStorage(
override suspend fun init() {
val storage = locateStorage()
if (storage?.exists() == true) {
- val json = Json.decodeFromStream(storage.inputStream())
- tagLabeledAmount.putAll(json.data)
+ try {
+ val json = Json.decodeFromStream(storage.inputStream())
+ tagLabeledAmount.putAll(json.data)
+ } catch (exception: Exception) {
+ Timber.e("TagLabeledNStorage.init exception: " + exception.message)
+ }
+
} else {
index.allIds()
.associateWith { tagsStorage.getTags(it) }
diff --git a/app/src/main/java/dev/arkbuilders/navigator/presentation/screen/gallery/previewpager/PreviewImageViewHolder.kt b/app/src/main/java/dev/arkbuilders/navigator/presentation/screen/gallery/previewpager/PreviewImageViewHolder.kt
index 2e814869..107dda30 100644
--- a/app/src/main/java/dev/arkbuilders/navigator/presentation/screen/gallery/previewpager/PreviewImageViewHolder.kt
+++ b/app/src/main/java/dev/arkbuilders/navigator/presentation/screen/gallery/previewpager/PreviewImageViewHolder.kt
@@ -20,7 +20,7 @@ import dev.arkbuilders.arklib.ResourceId
import dev.arkbuilders.arklib.data.meta.Metadata
import dev.arkbuilders.arklib.data.preview.PreviewLocator
import dev.arkbuilders.arklib.data.preview.PreviewStatus
-import dev.arkbuilders.arklib.utils.ImageUtils.loadGlideZoomImage
+import dev.arkbuilders.arklib.utils.ImageUtils.loadImage
import dev.arkbuilders.arklib.utils.ImageUtils.loadSubsamplingImage
import timber.log.Timber
@@ -95,7 +95,7 @@ class PreviewImageViewHolder(
}
val path = locator.fullscreen()
- loadGlideZoomImage(id, path, ivZoom)
+ loadImage(id, path, ivZoom, false)
loadSubsamplingImage(path, ivSubsampling)
}