Update header icon logic for Dalamud changes

This commit is contained in:
Liza 2023-11-09 11:32:32 +01:00
parent 2a180345eb
commit cf3a24afe8
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 2 additions and 8 deletions

View File

@ -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<ConfigWindow> _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<ConfigWindow> 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"))

2
vendor/LLib vendored

@ -1 +1 @@
Subproject commit e59d291f04473eae0b76712397733e2e25349953
Subproject commit 865a6080319f8ccbcd5fd5b0004404822b6e60d4