Skip to content

Commit

Permalink
fixed a null check in the iOS FormsCameraView (xamarin#923)
Browse files Browse the repository at this point in the history
Co-authored-by: Michal Diviš <A408674@dekra.org>
  • Loading branch information
michaldivis and Michal Diviš authored Feb 18, 2021
1 parent 12ee0d0 commit f44fb4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public float Zoom

public async Task TakePhoto()
{
if (isBusy || device == null || videoOutput != null)
if (isBusy || device == null || photoOutput != null)
return;

IsBusy = true;
Expand Down

0 comments on commit f44fb4e

Please sign in to comment.