Skip to content

Commit 7c62a2f

Browse files
committed
update variable naming convention
1 parent ad9b5a4 commit 7c62a2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Flow.Launcher.Infrastructure/Http/Http.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static class Http
2020

2121
private static HttpClient client = new HttpClient();
2222

23-
public static IPublicAPI _api { get; set; }
23+
public static IPublicAPI API { get; set; }
2424

2525
static Http()
2626
{
@@ -81,7 +81,7 @@ var userName when string.IsNullOrEmpty(userName) =>
8181
}
8282
catch(UriFormatException e)
8383
{
84-
_api.ShowMsg("Please try again", "Unable to parse Http Proxy");
84+
API.ShowMsg("Please try again", "Unable to parse Http Proxy");
8585
Log.Exception("Flow.Launcher.Infrastructure.Http", "Unable to parse Uri", e);
8686
}
8787
}

Flow.Launcher/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ await Stopwatch.NormalAsync("|App.OnStartup|Startup cost", async () =>
7171
_mainVM = new MainViewModel(_settings);
7272
API = new PublicAPIInstance(_settingsVM, _mainVM, _alphabet);
7373

74-
Http._api = API;
74+
Http.API = API;
7575
Http.Proxy = _settings.Proxy;
7676

7777
await PluginManager.InitializePlugins(API);

0 commit comments

Comments
 (0)