Skip to content

Commit 0707ae3

Browse files
committed
fix formattng
1 parent 59a767f commit 0707ae3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
using Flow.Launcher.Core.Plugin;
12
using Flow.Launcher.Infrastructure;
23
using Flow.Launcher.Infrastructure.Http;
34
using Flow.Launcher.Infrastructure.Logger;
4-
using Flow.Launcher.Infrastructure.Storage;
55
using Flow.Launcher.Infrastructure.UserSettings;
66
using Flow.Launcher.Plugin.PluginsManager.Models;
7-
using Flow.Launcher.Plugin.PluginsManager.ViewModels;
87
using Flow.Launcher.Plugin.SharedCommands;
98
using System;
109
using System.Collections.Generic;
@@ -402,9 +401,8 @@ internal List<Result> RequestUninstall(string search)
402401

403402
private void Uninstall(PluginMetadata plugin)
404403
{
405-
Core.Plugin.PluginManager.Settings.Plugins.Remove(plugin.ID);
406-
Core.Plugin.PluginManager.AllPlugins.RemoveAll(p => p.Metadata.ID == plugin.ID);
407-
404+
PluginManager.Settings.Plugins.Remove(plugin.ID);
405+
PluginManager.AllPlugins.RemoveAll(p => p.Metadata.ID == plugin.ID);
408406

409407
// Marked for deletion. Will be deleted on next start up
410408
using var _ = File.CreateText(Path.Combine(plugin.PluginDirectory, "NeedDelete.txt"));

0 commit comments

Comments
 (0)