From 3c67f470817eb3d535981f1df5092265b83108db Mon Sep 17 00:00:00 2001 From: Miguel Beltran Date: Fri, 1 Nov 2024 11:11:49 +0100 Subject: [PATCH] format --- src/Raygun.Blazor.Maui/Extensions/MauiExtensions.cs | 6 +++--- .../Platforms/Android/AndroidUtilities.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Raygun.Blazor.Maui/Extensions/MauiExtensions.cs b/src/Raygun.Blazor.Maui/Extensions/MauiExtensions.cs index ce7fd93..e30323f 100644 --- a/src/Raygun.Blazor.Maui/Extensions/MauiExtensions.cs +++ b/src/Raygun.Blazor.Maui/Extensions/MauiExtensions.cs @@ -11,11 +11,11 @@ public static class MauiExtensions { public static MauiAppBuilder UseRaygunBlazorMaui(this MauiAppBuilder builder, string configSectionName = "Raygun") { - #if ANDROID +#if ANDROID // Replace default AssemblyReaderProvider with the Android Assembly reader from Raygun4Maui ErrorDetails.AssemblyReaderProvider = AndroidUtilities.CreateAssemblyReader()!.TryGetReader; - #endif - +#endif + builder.Services.Configure(builder.Configuration.GetSection(configSectionName)); builder.Services.AddScoped(); builder.Services.AddScoped(); diff --git a/src/Raygun.Blazor.Maui/Platforms/Android/AndroidUtilities.cs b/src/Raygun.Blazor.Maui/Platforms/Android/AndroidUtilities.cs index 740c2c8..3781526 100644 --- a/src/Raygun.Blazor.Maui/Platforms/Android/AndroidUtilities.cs +++ b/src/Raygun.Blazor.Maui/Platforms/Android/AndroidUtilities.cs @@ -31,7 +31,7 @@ internal static class AndroidUtilities // Not a valid android archive so nothing to return return null; } - + // Open the apk file, and see if it has a manifest, if it does, // we are using the new assembly store method, // else it's just a normal zip with assemblies as archive entries