Skip to content

Commit a632e20

Browse files
[create-pull-request] automated change
1 parent c005e3a commit a632e20

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/Core/src/ImageSources/Android/ImageLoaderCallback.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ public void OnComplete(Java.Lang.Boolean? success, Drawable? drawable, Java.Lang
2929
{
3030
try
3131
{
32-
Action? disposeWrapper = dispose != null
33-
? dispose.Run
34-
: null;
32+
Action? disposeWrapper = dispose?.Run;
3533

3634
var result = success?.BooleanValue() == true
3735
? OnSuccess(drawable, disposeWrapper)

src/Graphics/src/Graphics.Win2D/CompatUsings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
global using PlatformBitmapExportService = Microsoft.Maui.Graphics.Win2D.W2DBitmapExportService;
1+
global using GraphicsExtensions = Microsoft.Maui.Graphics.Win2D.W2DExtensions;
2+
global using PlatformBitmapExportService = Microsoft.Maui.Graphics.Win2D.W2DBitmapExportService;
23
global using PlatformCanvas = Microsoft.Maui.Graphics.Win2D.W2DCanvas;
34
global using PlatformCanvasState = Microsoft.Maui.Graphics.Win2D.W2DCanvasState;
45
global using PlatformCanvasStateService = Microsoft.Maui.Graphics.Win2D.W2DCanvasStateService;
5-
global using GraphicsExtensions = Microsoft.Maui.Graphics.Win2D.W2DExtensions;
66
global using PlatformGraphicsService = Microsoft.Maui.Graphics.Win2D.W2DGraphicsService;
77
global using PlatformGraphicsView = Microsoft.Maui.Graphics.Win2D.W2DGraphicsView;
88
global using PlatformImage = Microsoft.Maui.Graphics.Win2D.W2DImage;

0 commit comments

Comments
 (0)