mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-20 10:23:30 -04:00
Merge pull request #2799 from kiwix/Issue#2797
#2797 fixing the note not saving issue.
This commit is contained in:
commit
6cb5b876f8
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user