mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:47:22 +01:00
fixes UID display, adding new secret key when none are available, showing intro ui
This commit is contained in:
parent
0288e7bcb3
commit
9c51b78fde
3 changed files with 3 additions and 3 deletions
|
|
@ -368,7 +368,7 @@ public class SettingsUi : Window, IDisposable
|
|||
ImGui.Separator();
|
||||
if (UiShared.IconTextButton(FontAwesomeIcon.Plus, "Add new Secret Key"))
|
||||
{
|
||||
selectedServer.SecretKeys.Add(selectedServer.SecretKeys.Last().Key + 1, new SecretKey()
|
||||
selectedServer.SecretKeys.Add(selectedServer.SecretKeys.LastOrDefault().Key + 1, new SecretKey()
|
||||
{
|
||||
FriendlyName = "New Secret Key",
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue