mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 18:07:22 +01:00
don't warn for palette+, remove display from ui
This commit is contained in:
parent
948145b50f
commit
40d2d384f7
3 changed files with 0 additions and 18 deletions
|
|
@ -4,6 +4,5 @@ public record OptionalPluginWarning
|
|||
{
|
||||
public bool ShownHeelsWarning { get; set; } = false;
|
||||
public bool ShownCustomizePlusWarning { get; set; } = false;
|
||||
public bool ShownPalettePlusWarning { get; set; } = false;
|
||||
public bool ShownHonorificWarning { get; set; } = false;
|
||||
}
|
||||
|
|
@ -30,7 +30,6 @@ public class PluginWarningNotificationService
|
|||
{
|
||||
ShownCustomizePlusWarning = _mareConfigService.Current.DisableOptionalPluginWarnings,
|
||||
ShownHeelsWarning = _mareConfigService.Current.DisableOptionalPluginWarnings,
|
||||
ShownPalettePlusWarning = _mareConfigService.Current.DisableOptionalPluginWarnings,
|
||||
ShownHonorificWarning = _mareConfigService.Current.DisableOptionalPluginWarnings,
|
||||
};
|
||||
}
|
||||
|
|
@ -47,12 +46,6 @@ public class PluginWarningNotificationService
|
|||
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())
|
||||
{
|
||||
missingPluginsForData.Add("Honorific");
|
||||
|
|
|
|||
|
|
@ -102,7 +102,6 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
|||
_glamourerExists = _ipcManager.CheckGlamourerApi();
|
||||
_customizePlusExists = _ipcManager.CheckCustomizePlusApi();
|
||||
_heelsExists = _ipcManager.CheckHeelsApi();
|
||||
_palettePlusExists = _ipcManager.CheckPalettePlusApi();
|
||||
_honorificExists = _ipcManager.CheckHonorificApi();
|
||||
});
|
||||
}
|
||||
|
|
@ -703,7 +702,6 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
|||
var glamourerColor = _glamourerExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||
var heelsColor = _heelsExists ? 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 check = FontAwesomeIcon.Check.ToIconString();
|
||||
var cross = FontAwesomeIcon.SquareXmark.ToIconString();
|
||||
|
|
@ -742,14 +740,6 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
|||
AttachToolTip($"Customize+ is " + (_customizePlusExists ? "available and up to date." : "unavailable or not up to date."));
|
||||
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.TextUnformatted("Honorific");
|
||||
ImGui.SameLine();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue