Add stuff that wasn't saved after rename for some reason...

This commit is contained in:
Ottermandias 2023-06-18 13:33:26 +02:00
parent 5f916efb13
commit fbd8a12f3a
4 changed files with 4 additions and 4 deletions

View file

@ -136,7 +136,7 @@ public class Configuration : IPluginConfiguration, ISavable
} }
catch (Exception ex) catch (Exception ex)
{ {
Penumbra.ChatService.NotificationMessage(ex, Penumbra.Chat.NotificationMessage(ex,
"Error reading Configuration, reverting to default.\nYou may be able to restore your configuration using the rolling backups in the XIVLauncher/backups/Penumbra directory.", "Error reading Configuration, reverting to default.\nYou may be able to restore your configuration using the rolling backups in the XIVLauncher/backups/Penumbra directory.",
"Error reading Configuration", "Error", NotificationType.Error); "Error reading Configuration", "Error", NotificationType.Error);
} }

View file

@ -144,7 +144,7 @@ public sealed class ConfigWindow : Window
ImGui.NewLine(); ImGui.NewLine();
ImGui.NewLine(); ImGui.NewLine();
CustomGui.DrawDiscordButton(Penumbra.ChatService, 0); CustomGui.DrawDiscordButton(Penumbra.Chat, 0);
ImGui.SameLine(); ImGui.SameLine();
UiHelpers.DrawSupportButton(_penumbra!); UiHelpers.DrawSupportButton(_penumbra!);
ImGui.NewLine(); ImGui.NewLine();

View file

@ -352,7 +352,7 @@ public sealed class ModFileSystemSelector : FileSystemSelector<Mod, ModFileSyste
} }
private static void HandleException(Exception e) private static void HandleException(Exception e)
=> Penumbra.ChatService.NotificationMessage(e.Message, "Failure", NotificationType.Warning); => Penumbra.Chat.NotificationMessage(e.Message, "Failure", NotificationType.Warning);
#endregion #endregion

View file

@ -59,7 +59,7 @@ public static class UiHelpers
var text = penumbra.GatherSupportInformation(); var text = penumbra.GatherSupportInformation();
ImGui.SetClipboardText(text); ImGui.SetClipboardText(text);
Penumbra.ChatService.NotificationMessage($"Copied Support Info to Clipboard.", "Success", NotificationType.Success); Penumbra.Chat.NotificationMessage($"Copied Support Info to Clipboard.", "Success", NotificationType.Success);
} }
/// <summary> Draw a button to open a specific directory in a file explorer.</summary> /// <summary> Draw a button to open a specific directory in a file explorer.</summary>