瀏覽代碼

Use app name for page download folder and use manga title subfolders (closes #4684)

arkon 4 年之前
父節點
當前提交
dac2072eaa
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt

+ 2 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt

@@ -559,7 +559,8 @@ class ReaderPresenter(
         val destDir = File(
             Environment.getExternalStorageDirectory().absolutePath +
                 File.separator + Environment.DIRECTORY_PICTURES +
-                File.separator + "Tachiyomi"
+                File.separator + context.getString(R.string.app_name) +
+                File.separator + manga.title
         )
 
         // Copy file in background.