From cf3a24afe8574e4520b80dfdeb0b63608a2a6a0a Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Thu, 9 Nov 2023 11:32:32 +0100 Subject: [PATCH] Update header icon logic for Dalamud changes --- Pal.Client/Windows/ConfigWindow.cs | 8 +------- vendor/LLib | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Pal.Client/Windows/ConfigWindow.cs b/Pal.Client/Windows/ConfigWindow.cs index 1716b4f..13962e7 100644 --- a/Pal.Client/Windows/ConfigWindow.cs +++ b/Pal.Client/Windows/ConfigWindow.cs @@ -8,7 +8,6 @@ using Dalamud.Interface; using Dalamud.Interface.Components; using Dalamud.Interface.ImGuiFileDialog; using Dalamud.Interface.Windowing; -using Dalamud.Plugin; using ECommons; using Export; using Google.Protobuf; @@ -27,12 +26,11 @@ using Pal.Client.Scheduled; namespace Pal.Client.Windows; -internal sealed class ConfigWindow : Window, ILanguageChanged, IDisposable +internal sealed class ConfigWindow : LImGui.LWindow, ILanguageChanged, IDisposable { private const string WindowId = "###PalPalaceConfig"; private readonly ILogger _logger; - private readonly DalamudPluginInterface _pluginInterface; private readonly WindowSystem _windowSystem; private readonly ConfigurationManager _configurationManager; private readonly IPalacePalConfiguration _configuration; @@ -67,7 +65,6 @@ internal sealed class ConfigWindow : Window, ILanguageChanged, IDisposable public ConfigWindow( ILogger logger, - DalamudPluginInterface pluginInterface, WindowSystem windowSystem, ConfigurationManager configurationManager, IPalacePalConfiguration configuration, @@ -82,7 +79,6 @@ internal sealed class ConfigWindow : Window, ILanguageChanged, IDisposable : base(WindowId) { _logger = logger; - _pluginInterface = pluginInterface; _windowSystem = windowSystem; _configurationManager = configurationManager; _configuration = configuration; @@ -152,8 +148,6 @@ internal sealed class ConfigWindow : Window, ILanguageChanged, IDisposable public override void Draw() { - LImGui.AddPatreonIcon(_pluginInterface); - bool save = false; bool saveAndClose = false; if (ImGui.BeginTabBar("PalTabs")) diff --git a/vendor/LLib b/vendor/LLib index e59d291..865a608 160000 --- a/vendor/LLib +++ b/vendor/LLib @@ -1 +1 @@ -Subproject commit e59d291f04473eae0b76712397733e2e25349953 +Subproject commit 865a6080319f8ccbcd5fd5b0004404822b6e60d4