mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
never force chooser at Edit intent
This commit is contained in:
parent
c9f6668fc1
commit
84263a3b10
1 changed files with 1 additions and 2 deletions
|
@ -112,8 +112,7 @@ fun Activity.openEditor(uri: Uri) {
|
|||
}
|
||||
|
||||
if (resolveActivity(packageManager) != null) {
|
||||
val chooser = Intent.createChooser(this, getString(R.string.edit_image_with))
|
||||
startActivityForResult(chooser, REQUEST_EDIT_IMAGE)
|
||||
startActivityForResult(this, REQUEST_EDIT_IMAGE)
|
||||
} else {
|
||||
toast(R.string.no_editor_found)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue