fix #1307, properly send the Editor intent from the editor
This commit is contained in:
parent
ae031af161
commit
d425083e57
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ fun Activity.openPath(path: String, forceChooser: Boolean) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Activity.openEditor(path: String, forceChooser: Boolean = false) {
|
fun Activity.openEditor(path: String, forceChooser: Boolean = false) {
|
||||||
openEditorIntent(path, forceChooser, BuildConfig.APPLICATION_ID)
|
val newPath = path.removePrefix("file://")
|
||||||
|
openEditorIntent(newPath, forceChooser, BuildConfig.APPLICATION_ID)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Activity.launchCamera() {
|
fun Activity.launchCamera() {
|
||||||
|
|
Loading…
Reference in a new issue