fix: wrap text

This commit is contained in:
Anna 2022-07-19 18:47:40 -04:00
parent b0dba5bd55
commit eb3a0c659d
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0

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();
}
}