From f7baf124a60f52c2731b5e000a50dfb6cd695bc6 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Sun, 9 May 2021 00:05:04 -0400 Subject: [PATCH] Fix saved images paths --- .../java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt | 2 +- .../main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt index e22d969e97..69a19c1c69 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt @@ -733,7 +733,7 @@ class MangaDetailsPresenter( val directory = File( Environment.getExternalStorageDirectory().absolutePath + File.separator + Environment.DIRECTORY_PICTURES + - File.separator + "Tachiyomi" + File.separator + preferences.context.getString(R.string.app_name) ) saveCover(directory) true diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt index aa8798fd7d..a0df22379c 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt @@ -727,7 +727,7 @@ class ReaderPresenter( val destDir = File( Environment.getExternalStorageDirectory().absolutePath + File.separator + Environment.DIRECTORY_PICTURES + - File.separator + "Tachiyomi" + File.separator + context.getString(R.string.app_name) ) try {