fiX: don't always open
This commit is contained in:
parent
7bc3147d64
commit
9b61844578
|
@ -188,8 +188,7 @@ internal class PluginUi : IDisposable {
|
||||||
// }
|
// }
|
||||||
|
|
||||||
if (this.Plugin.LocalPlayer is { } player) {
|
if (this.Plugin.LocalPlayer is { } player) {
|
||||||
ImGui.SetNextItemOpen(true);
|
if (ImGui.TreeNodeEx($"Settings for {player.Name}{CrossWorld}{player.HomeWorld.GameData?.Name}")) {
|
||||||
if (ImGui.TreeNodeEx($"Settings for {player.Name}@{player.HomeWorld.GameData?.Name}")) {
|
|
||||||
if (ImGui.Checkbox("Allow receiving invites", ref this.Plugin.ConfigInfo.AllowInvites)) {
|
if (ImGui.Checkbox("Allow receiving invites", ref this.Plugin.ConfigInfo.AllowInvites)) {
|
||||||
anyChanged = true;
|
anyChanged = true;
|
||||||
Task.Run(async () => await this.Plugin.Client.AllowInvitesToast(this.Plugin.ConfigInfo.AllowInvites));
|
Task.Run(async () => await this.Plugin.Client.AllowInvitesToast(this.Plugin.ConfigInfo.AllowInvites));
|
||||||
|
|
Loading…
Reference in New Issue