fix: use id for delete button
This commit is contained in:
parent
b9b014bb16
commit
51889b2b1b
|
@ -200,7 +200,7 @@ internal class PluginUi : IDisposable {
|
||||||
} else {
|
} else {
|
||||||
ImGui.TextUnformatted("Clicking the button below will permanently and irreversibly delete your account from ExtraChat's servers.");
|
ImGui.TextUnformatted("Clicking the button below will permanently and irreversibly delete your account from ExtraChat's servers.");
|
||||||
|
|
||||||
if (ImGui.Button("Delete account")) {
|
if (ImGui.Button("Delete account##actual-delete")) {
|
||||||
Task.Run(async () => await this.Plugin.Client.DeleteAccountToast());
|
Task.Run(async () => await this.Plugin.Client.DeleteAccountToast());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue