mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-27 06:57:59 +01:00
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