From 601f6321457806d43c3ba97cc245fb8ef309afe4 Mon Sep 17 00:00:00 2001 From: SheepGoMeh Date: Wed, 4 Oct 2023 00:29:59 +0300 Subject: [PATCH] Update ContextMenu --- Visibility/ContextMenu.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Visibility/ContextMenu.cs b/Visibility/ContextMenu.cs index cfb354d..55b5411 100644 --- a/Visibility/ContextMenu.cs +++ b/Visibility/ContextMenu.cs @@ -11,12 +11,7 @@ namespace Visibility public class ContextMenu : IDisposable { private bool enabled; - private readonly DalamudContextMenu dalamudContextMenu; - - public ContextMenu() - { - this.dalamudContextMenu = new DalamudContextMenu(Service.PluginInterface); - } + private readonly DalamudContextMenu dalamudContextMenu = new(Service.PluginInterface); public void Toggle() {