Skip to content

Commit

Permalink
fix(android): remember camera prompt selection after permission result (
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed May 12, 2020
1 parent e2c224c commit cdd317f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,10 @@ private void showPrompt(final PluginCall call) {
@Override
public void onSelect(int index) {
if (index == 0) {
settings.setSource(CameraSource.PHOTOS);
openPhotos(call);
} else if (index == 1) {
settings.setSource(CameraSource.CAMERA);
openCamera(call);
}
}
Expand Down

0 comments on commit cdd317f

Please sign in to comment.