fix: wrap text

This commit is contained in:
Anna 2022-07-19 18:47:40 -04:00
parent 600995d879
commit b9b014bb16
1 changed files with 4 additions and 0 deletions

View File

@ -193,6 +193,8 @@ internal class PluginUi : IDisposable {
}
if (ImGui.CollapsingHeader("Delete account")) {
ImGui.PushTextWrapPos();
if (this.Plugin.Client.Channels.Count > 0) {
ImGui.TextUnformatted("You must leave or disband all ExtraChat linkshells you are currently in before you can delete your account.");
} else {
@ -202,6 +204,8 @@ internal class PluginUi : IDisposable {
Task.Run(async () => await this.Plugin.Client.DeleteAccountToast());
}
}
ImGui.PopTextWrapPos();
}
}