mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
never force chooser at Edit intent
This commit is contained in:
@@ -112,8 +112,7 @@ fun Activity.openEditor(uri: Uri) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (resolveActivity(packageManager) != null) {
|
if (resolveActivity(packageManager) != null) {
|
||||||
val chooser = Intent.createChooser(this, getString(R.string.edit_image_with))
|
startActivityForResult(this, REQUEST_EDIT_IMAGE)
|
||||||
startActivityForResult(chooser, REQUEST_EDIT_IMAGE)
|
|
||||||
} else {
|
} else {
|
||||||
toast(R.string.no_editor_found)
|
toast(R.string.no_editor_found)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user