We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed16d34 commit 6a2389fCopy full SHA for 6a2389f
Flow.Launcher.Infrastructure/Http/Http.cs
@@ -18,8 +18,6 @@ public static class Http
18
19
private static HttpClient client = new HttpClient();
20
21
- private static IPublicAPI API { get; set; } = Ioc.Default.GetRequiredService<IPublicAPI>();
22
-
23
static Http()
24
{
25
// need to be added so it would work on a win10 machine
@@ -79,7 +77,7 @@ var userName when string.IsNullOrEmpty(userName) =>
79
77
}
80
78
catch (UriFormatException e)
81
82
- API.ShowMsg("Please try again", "Unable to parse Http Proxy");
+ Ioc.Default.GetRequiredService<IPublicAPI>().ShowMsg("Please try again", "Unable to parse Http Proxy");
83
Log.Exception("Flow.Launcher.Infrastructure.Http", "Unable to parse Uri", e);
84
85
0 commit comments