From 04b359033329d4bcd21b574e601601ffff135ff5 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Tue, 3 Sep 2024 16:36:53 -0700 Subject: move post match toast notification to record presetup - fixes and simplifies issue with managing different config combinations --- Malmstone/Windows/ConfigWindow.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Malmstone/Windows/ConfigWindow.cs') diff --git a/Malmstone/Windows/ConfigWindow.cs b/Malmstone/Windows/ConfigWindow.cs index 9858b7e..e6376b3 100644 --- a/Malmstone/Windows/ConfigWindow.cs +++ b/Malmstone/Windows/ConfigWindow.cs @@ -43,12 +43,16 @@ public class ConfigWindow : Window, IDisposable ImGui.Separator(); - ImGui.Text("Show XP to next level after PVP matches"); + ImGui.Text("Show EXP progression after PVP matches"); ImGui.SameLine(); var showProgressionToastPostMatch = Configuration.ShowProgressionToastPostMatch; if (ImGui.Checkbox("##ShowProgressionToastPostMatch", ref showProgressionToastPostMatch)) { Configuration.ShowProgressionToastPostMatch = showProgressionToastPostMatch; + if (showProgressionToastPostMatch) + Plugin.PvPAddon.EnablePostMatchProgressionToast(); + else + Plugin.PvPAddon.DisablePostMatchProgressionToast(); Configuration.Save(); } -- cgit v1.2.3