Update header icon logic for Dalamud changes

This commit is contained in:
Liza 2023-11-09 10:48:41 +01:00
parent 3fa2753b6b
commit 2198fdc4e1
Signed by: liza
GPG Key ID: 7199F8D727D55F67
4 changed files with 5 additions and 10 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework>
<Version>2.16</Version>
<Version>2.17</Version>
<LangVersion>11.0</LangVersion>
<Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

View File

@ -5,7 +5,6 @@ using System.Numerics;
using Dalamud.Interface;
using Dalamud.Interface.Components;
using Dalamud.Interface.Utility;
using Dalamud.Interface.Windowing;
using Dalamud.Plugin;
using Dalamud.Plugin.Services;
using Deliveroo.GameData;
@ -14,7 +13,7 @@ using LLib;
namespace Deliveroo.Windows;
internal sealed class ConfigWindow : Window
internal sealed class ConfigWindow : LImGui.LWindow
{
private readonly DalamudPluginInterface _pluginInterface;
private readonly DeliverooPlugin _plugin;
@ -51,8 +50,6 @@ internal sealed class ConfigWindow : Window
public override void Draw()
{
LImGui.AddPatreonIcon(_pluginInterface);
if (_configuration.AddVentureIfNoItemToPurchaseSelected())
Save();

View File

@ -7,7 +7,6 @@ using Dalamud.Interface;
using Dalamud.Interface.Colors;
using Dalamud.Interface.Components;
using Dalamud.Interface.Utility;
using Dalamud.Interface.Windowing;
using Dalamud.Plugin;
using Dalamud.Plugin.Services;
using Deliveroo.GameData;
@ -18,7 +17,7 @@ using LLib;
namespace Deliveroo.Windows;
internal sealed class TurnInWindow : Window
internal sealed class TurnInWindow : LImGui.LWindow
{
private readonly DeliverooPlugin _plugin;
private readonly DalamudPluginInterface _pluginInterface;
@ -49,6 +48,7 @@ internal sealed class TurnInWindow : Window
Flags = ImGuiWindowFlags.AlwaysAutoResize | ImGuiWindowFlags.NoCollapse;
ShowCloseButton = false;
AllowClickthrough = false;
}
public bool State { get; set; }
@ -96,8 +96,6 @@ internal sealed class TurnInWindow : Window
public override unsafe void Draw()
{
LImGui.AddPatreonIcon(_pluginInterface);
GrandCompany grandCompany = _plugin.GetGrandCompany();
if (grandCompany == GrandCompany.None)
{

2
LLib

@ -1 +1 @@
Subproject commit 89448838a1295041293bbd5dd69501ad934bdf03
Subproject commit 865a6080319f8ccbcd5fd5b0004404822b6e60d4