aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Windows/ConfigWindow.cs
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-09-03 16:36:53 -0700
committerPinapelz <yukais@pinapelz.com>2024-09-03 16:36:53 -0700
commit04b359033329d4bcd21b574e601601ffff135ff5 (patch)
tree49a91a0ae1490209e2d29c48b37d230111036d09 /Malmstone/Windows/ConfigWindow.cs
parent49b0ad40b51845bbbde68a4133f2b15414cebade (diff)
move post match toast notification to record presetup
- fixes and simplifies issue with managing different config combinations
Diffstat (limited to 'Malmstone/Windows/ConfigWindow.cs')
-rw-r--r--Malmstone/Windows/ConfigWindow.cs6
1 files changed, 5 insertions, 1 deletions
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();
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage