mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-21 02:45:24 +01:00
fix #1307, properly send the Editor intent from the editor
This commit is contained in:
parent
ae031af161
commit
d425083e57
@ -60,7 +60,8 @@ fun Activity.openPath(path: String, forceChooser: Boolean) {
|
||||
}
|
||||
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user