Skip to content

Commit 6514b74

Browse files
committed
Review feedback
1 parent cf63f0f commit 6514b74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Essentials/src/MediaPicker/MediaPicker.android.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
namespace Microsoft.Maui.Media
1616
{
1717
partial class MediaPickerImplementation : IMediaPicker
18-
{
18+
{
1919
public bool IsCaptureSupported
2020
=> Application.Context?.PackageManager?.HasSystemFeature(PackageManager.FeatureCameraAny) ?? false;
2121

@@ -94,7 +94,7 @@ public async Task<FileResult> CaptureAsync(MediaPickerOptions options, bool phot
9494
{
9595
return null;
9696
}
97-
}
97+
}
9898

9999
async Task<FileResult> PickUsingIntermediateActivity(MediaPickerOptions options, bool photo)
100100
{
@@ -155,7 +155,7 @@ async Task<List<FileResult>> PickMultipleUsingPhotoPicker(MediaPickerOptions opt
155155
if (options.SelectionLimit == 1)
156156
{
157157
var singleResult = await PickUsingPhotoPicker(options, photo);
158-
return singleResult is not null ? [singleResult] : null;
158+
return singleResult is not null ? [singleResult] : [];
159159
}
160160

161161
var pickVisualMediaRequestBuilder = new PickVisualMediaRequest.Builder()

0 commit comments

Comments
 (0)