mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
force an editor app chooser at pressing Edit at the editor
This commit is contained in:
@ -633,7 +633,7 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
|
||||
}
|
||||
|
||||
private fun editWith() {
|
||||
openEditor(uri.toString())
|
||||
openEditor(uri.toString(), true)
|
||||
isEditingWithThirdParty = true
|
||||
}
|
||||
|
||||
|
@ -51,8 +51,8 @@ fun Activity.openPath(path: String, forceChooser: Boolean) {
|
||||
openPathIntent(path, forceChooser, BuildConfig.APPLICATION_ID)
|
||||
}
|
||||
|
||||
fun Activity.openEditor(path: String) {
|
||||
openEditorIntent(path, BuildConfig.APPLICATION_ID)
|
||||
fun Activity.openEditor(path: String, forceChooser: Boolean = false) {
|
||||
openEditorIntent(path, forceChooser, BuildConfig.APPLICATION_ID)
|
||||
}
|
||||
|
||||
fun Activity.launchCamera() {
|
||||
|
Reference in New Issue
Block a user