Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.

Commit 0782030

Browse files
authored
Use the correct parameters for MediaPicker
Fixes #1504
1 parent 26236cd commit 0782030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Xamarin.Essentials/MediaPicker/MediaPicker.uwp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static async Task<FileResult> PickAsync(MediaPickerOptions options, bool photo)
4141
}
4242

4343
static Task<FileResult> PlatformCapturePhotoAsync(MediaPickerOptions options)
44-
=> CaptureAsync(options, false);
44+
=> CaptureAsync(options, true);
4545

4646
static Task<FileResult> PlatformCaptureVideoAsync(MediaPickerOptions options)
4747
=> CaptureAsync(options, false);

0 commit comments

Comments
 (0)