File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ namespace Flow.Launcher
27
27
{
28
28
public partial class App : IDisposable , ISingleInstanceApp
29
29
{
30
- public static PublicAPIInstance API { get ; private set ; }
30
+ public static IPublicAPI API { get ; private set ; }
31
31
private const string Unique = "Flow.Launcher_Unique_Application_Mutex" ;
32
32
private static bool _disposed ;
33
33
private Settings _settings ;
@@ -93,7 +93,7 @@ await Stopwatch.NormalAsync("|App.OnStartup|Startup cost", async () =>
93
93
94
94
PluginManager . LoadPlugins ( _settings . PluginSettings ) ;
95
95
96
- API = Ioc . Default . GetRequiredService < IPublicAPI > ( ) as PublicAPIInstance ;
96
+ API = Ioc . Default . GetRequiredService < IPublicAPI > ( ) ;
97
97
98
98
Http . API = API ;
99
99
Http . Proxy = _settings . Proxy ;
You can’t perform that action at this time.
0 commit comments