fiX: don't always open

This commit is contained in:
Anna 2022-07-19 19:47:00 -04:00
parent 7bc3147d64
commit 9b61844578
1 changed files with 1 additions and 2 deletions

View File

@ -188,8 +188,7 @@ internal class PluginUi : IDisposable {
// }
if (this.Plugin.LocalPlayer is { } player) {
ImGui.SetNextItemOpen(true);
if (ImGui.TreeNodeEx($"Settings for {player.Name}@{player.HomeWorld.GameData?.Name}")) {
if (ImGui.TreeNodeEx($"Settings for {player.Name}{CrossWorld}{player.HomeWorld.GameData?.Name}")) {
if (ImGui.Checkbox("Allow receiving invites", ref this.Plugin.ConfigInfo.AllowInvites)) {
anyChanged = true;
Task.Run(async () => await this.Plugin.Client.AllowInvitesToast(this.Plugin.ConfigInfo.AllowInvites));