don't warn for palette+, remove display from ui
This commit is contained in:
@@ -4,6 +4,5 @@ public record OptionalPluginWarning
|
|||||||
{
|
{
|
||||||
public bool ShownHeelsWarning { get; set; } = false;
|
public bool ShownHeelsWarning { get; set; } = false;
|
||||||
public bool ShownCustomizePlusWarning { get; set; } = false;
|
public bool ShownCustomizePlusWarning { get; set; } = false;
|
||||||
public bool ShownPalettePlusWarning { get; set; } = false;
|
|
||||||
public bool ShownHonorificWarning { get; set; } = false;
|
public bool ShownHonorificWarning { get; set; } = false;
|
||||||
}
|
}
|
||||||
@@ -30,7 +30,6 @@ public class PluginWarningNotificationService
|
|||||||
{
|
{
|
||||||
ShownCustomizePlusWarning = _mareConfigService.Current.DisableOptionalPluginWarnings,
|
ShownCustomizePlusWarning = _mareConfigService.Current.DisableOptionalPluginWarnings,
|
||||||
ShownHeelsWarning = _mareConfigService.Current.DisableOptionalPluginWarnings,
|
ShownHeelsWarning = _mareConfigService.Current.DisableOptionalPluginWarnings,
|
||||||
ShownPalettePlusWarning = _mareConfigService.Current.DisableOptionalPluginWarnings,
|
|
||||||
ShownHonorificWarning = _mareConfigService.Current.DisableOptionalPluginWarnings,
|
ShownHonorificWarning = _mareConfigService.Current.DisableOptionalPluginWarnings,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -47,12 +46,6 @@ public class PluginWarningNotificationService
|
|||||||
warning.ShownCustomizePlusWarning = true;
|
warning.ShownCustomizePlusWarning = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (changes.Contains(PlayerChanges.Palette) && !warning.ShownPalettePlusWarning && !_ipcManager.CheckPalettePlusApi())
|
|
||||||
{
|
|
||||||
missingPluginsForData.Add("Palette+");
|
|
||||||
warning.ShownPalettePlusWarning = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (changes.Contains(PlayerChanges.Honorific) && !warning.ShownHonorificWarning && !_ipcManager.CheckHonorificApi())
|
if (changes.Contains(PlayerChanges.Honorific) && !warning.ShownHonorificWarning && !_ipcManager.CheckHonorificApi())
|
||||||
{
|
{
|
||||||
missingPluginsForData.Add("Honorific");
|
missingPluginsForData.Add("Honorific");
|
||||||
|
|||||||
@@ -103,7 +103,6 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
|||||||
_glamourerExists = _ipcManager.CheckGlamourerApi();
|
_glamourerExists = _ipcManager.CheckGlamourerApi();
|
||||||
_customizePlusExists = _ipcManager.CheckCustomizePlusApi();
|
_customizePlusExists = _ipcManager.CheckCustomizePlusApi();
|
||||||
_heelsExists = _ipcManager.CheckHeelsApi();
|
_heelsExists = _ipcManager.CheckHeelsApi();
|
||||||
_palettePlusExists = _ipcManager.CheckPalettePlusApi();
|
|
||||||
_honorificExists = _ipcManager.CheckHonorificApi();
|
_honorificExists = _ipcManager.CheckHonorificApi();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -718,7 +717,6 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
|||||||
var glamourerColor = _glamourerExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
var glamourerColor = _glamourerExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||||
var heelsColor = _heelsExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
var heelsColor = _heelsExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||||
var customizeColor = _customizePlusExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
var customizeColor = _customizePlusExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||||
var paletteColor = _palettePlusExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
|
||||||
var honorificColor = _honorificExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
var honorificColor = _honorificExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||||
var check = FontAwesomeIcon.Check.ToIconString();
|
var check = FontAwesomeIcon.Check.ToIconString();
|
||||||
var cross = FontAwesomeIcon.SquareXmark.ToIconString();
|
var cross = FontAwesomeIcon.SquareXmark.ToIconString();
|
||||||
@@ -778,14 +776,6 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
|||||||
AttachToolTip($"Customize+ is " + (_customizePlusExists ? "available and up to date." : "unavailable or not up to date."));
|
AttachToolTip($"Customize+ is " + (_customizePlusExists ? "available and up to date." : "unavailable or not up to date."));
|
||||||
ImGui.Spacing();
|
ImGui.Spacing();
|
||||||
|
|
||||||
ImGui.SameLine();
|
|
||||||
ImGui.TextUnformatted("Palette+");
|
|
||||||
ImGui.SameLine();
|
|
||||||
FontText(_palettePlusExists ? check : cross, UiBuilder.IconFont, paletteColor);
|
|
||||||
ImGui.SameLine();
|
|
||||||
AttachToolTip($"Palette+ is " + (_palettePlusExists ? "available and up to date." : "unavailable or not up to date."));
|
|
||||||
ImGui.Spacing();
|
|
||||||
|
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
ImGui.TextUnformatted("Honorific");
|
ImGui.TextUnformatted("Honorific");
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
|
|||||||
Reference in New Issue
Block a user