Skip to content

Commit

Permalink
Adjust formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Sep 14, 2023
1 parent 592a484 commit e510753
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/MZikmund/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ protected override void OnLaunched(LaunchActivatedEventArgs args)
var builder = this.CreateBuilder(args)
.Configure(host => host
#if DEBUG
// Switch to Development environment when running in DEBUG
.UseEnvironment(Environments.Development)
// Switch to Development environment when running in DEBUG
.UseEnvironment(Environments.Development)
#endif
.UseConfiguration(configure: configBuilder =>
configBuilder
Expand All @@ -30,8 +30,8 @@ protected override void OnLaunched(LaunchActivatedEventArgs args)
// DelegatingHandler will be automatically injected into Refit Client
.AddTransient<DelegatingHandler, DebugHttpHandler>()
#endif
.AddSingleton<IWeatherCache, WeatherCache>()
.AddRefitClient<IApiClient>(context))
.AddSingleton<IWeatherCache, WeatherCache>()
.AddRefitClient<IApiClient>(context))
.UseAuthentication(auth =>
auth.AddMsal(name: "MsalAuthentication")
)
Expand Down

0 comments on commit e510753

Please sign in to comment.