Merge pull request #2799 from kiwix/Issue#2797

#2797 fixing the note not saving issue.
This commit is contained in:
Kelson 2022-04-20 14:32:50 +02:00 committed by GitHub
commit 6cb5b876f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,6 @@ import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.os.Environment
import android.util.Log
import android.view.LayoutInflater
import android.view.MenuItem
@ -399,7 +398,7 @@ class AddNoteDialog : DialogFragment() {
companion object {
@JvmField val NOTES_DIRECTORY =
Environment.getExternalStorageDirectory().toString() + "/Kiwix/Notes/"
instance.getExternalFilesDir("").toString() + "/Kiwix/Notes/"
const val TAG = "AddNoteDialog"
}
}