mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
update variable naming convention
This commit is contained in:
parent
5f44663bd7
commit
9192ab7550
2 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ namespace Flow.Launcher.Infrastructure.Http
|
|||
|
||||
private static HttpClient client = new HttpClient();
|
||||
|
||||
public static IPublicAPI _api { get; set; }
|
||||
public static IPublicAPI API { get; set; }
|
||||
|
||||
static Http()
|
||||
{
|
||||
|
|
@ -81,7 +81,7 @@ namespace Flow.Launcher.Infrastructure.Http
|
|||
}
|
||||
catch(UriFormatException e)
|
||||
{
|
||||
_api.ShowMsg("Please try again", "Unable to parse Http Proxy");
|
||||
API.ShowMsg("Please try again", "Unable to parse Http Proxy");
|
||||
Log.Exception("Flow.Launcher.Infrastructure.Http", "Unable to parse Uri", e);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ namespace Flow.Launcher
|
|||
_mainVM = new MainViewModel(_settings);
|
||||
API = new PublicAPIInstance(_settingsVM, _mainVM, _alphabet);
|
||||
|
||||
Http._api = API;
|
||||
Http.API = API;
|
||||
Http.Proxy = _settings.Proxy;
|
||||
|
||||
await PluginManager.InitializePlugins(API);
|
||||
|
|
|
|||
Loading…
Reference in a new issue