@@ -20,7 +20,7 @@ public static void Copy(IReadOnlyList<ActionType> actions)
2020 {
2121 if ( actions . Count == 0 )
2222 {
23- Service . Plugin . DisplayNotification ( new ( )
23+ Plugin . Plugin . DisplayNotification ( new ( )
2424 {
2525 Content = "Cannot copy an empty macro." ,
2626 MinimizedText = "Cannot copy empty macro" ,
@@ -152,7 +152,7 @@ private static void CopyToMacro(List<string> macros)
152152
153153 if ( config . ShowCopiedMessage )
154154 {
155- Service . Plugin . DisplayNotification ( new ( )
155+ Plugin . Plugin . DisplayNotification ( new ( )
156156 {
157157 Content = i > 1 ? "Copied macro to User Macros." : $ "Copied { i } macros to User Macros.",
158158 MinimizedText = i > 1 ? "Copied macro" : $ "Copied { i } macros",
@@ -164,7 +164,7 @@ private static void CopyToMacro(List<string> macros)
164164 {
165165 Service . Plugin . OpenMacroClipboard ( macros ) ;
166166 var rest = macros . Count - i ;
167- Service . Plugin . DisplayNotification ( new ( )
167+ Plugin . Plugin . DisplayNotification ( new ( )
168168 {
169169 Content = $ "Couldn't copy { rest } macro{ ( rest == 1 ? "" : "s" ) } , so a window was opened with all of them.",
170170 Minimized = false ,
@@ -201,7 +201,7 @@ private static void CopyToClipboard(List<string> macros)
201201 ImGui . SetClipboardText ( string . Join ( Environment . NewLine + Environment . NewLine , macros ) ) ;
202202 if ( Service . Configuration . MacroCopy . ShowCopiedMessage )
203203 {
204- Service . Plugin . DisplayNotification ( new ( )
204+ Plugin . Plugin . DisplayNotification ( new ( )
205205 {
206206 Content = macros . Count == 1 ? "Copied macro to clipboard." : $ "Copied { macros . Count } macros to clipboard.",
207207 MinimizedText = macros . Count == 1 ? "Copied macro" : $ "Copied { macros . Count } macros",
@@ -215,7 +215,7 @@ private static void CopyToMacroMate(string macro)
215215 {
216216 if ( ! Service . Ipc . MacroMateIsAvailable ( ) )
217217 {
218- Service . Plugin . DisplayNotification ( new ( )
218+ Plugin . Plugin . DisplayNotification ( new ( )
219219 {
220220 Content = "Please check if it installed and enabled." ,
221221 MinimizedText = "Macro Mate is unavailable" ,
@@ -232,7 +232,7 @@ private static void CopyToMacroMate(string macro)
232232 var ( isValidParent , parentError ) = Service . Ipc . MacroMateValidateGroupPath ( parentPath ) ;
233233 if ( ! isValidParent )
234234 {
235- Service . Plugin . DisplayNotification ( new ( )
235+ Plugin . Plugin . DisplayNotification ( new ( )
236236 {
237237 Content = parentError ! ,
238238 MinimizedText = parentError ,
@@ -246,7 +246,7 @@ private static void CopyToMacroMate(string macro)
246246
247247 if ( Service . Configuration . MacroCopy . ShowCopiedMessage )
248248 {
249- Service . Plugin . DisplayNotification ( new ( )
249+ Plugin . Plugin . DisplayNotification ( new ( )
250250 {
251251 Content = "Copied macro to Macro Mate." ,
252252 MinimizedText = "Copied macro" ,
0 commit comments