Skip to content

Commit

Permalink
Override plugin initialization functions (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkgv authored Aug 9, 2023
1 parent 6321309 commit 55e420b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Pinpoint.Plugin.ControlPanel/ControlPanelPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class ControlPanelPlugin : AbstractPlugin
Description = "Search for Windows control panel items."
};

public Task<bool> Initialize()
public override Task<bool> Initialize()
{
// Load actual control panel items
var items = LoadControlPanelItems();
Expand Down
2 changes: 1 addition & 1 deletion Pinpoint.Plugin.Spotify/SpotifyPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class SpotifyPlugin : AbstractPlugin
Description = "Control any Spotify session without leaving your workflow. Requires sign-in on first use.\n\nExamples: \"album <name>\", \"artist <name>\", \"episode <name>\", \"play <name>\", \"playlist <name>\", \"show <name>\", \"skip\", \"next\", \"prev\", \"back\", \"pause\""
};

public Task<bool> Initialize()
public override Task<bool> Initialize()
{
if (Storage.Internal.ContainsKey("refresh_token"))
{
Expand Down

0 comments on commit 55e420b

Please sign in to comment.