Merge branch 'main' of https://github.com/Penumbra-Sync/client
This commit is contained in:
@@ -852,7 +852,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
|
|||||||
ImGui.Separator();
|
ImGui.Separator();
|
||||||
if (UiSharedService.IconTextButton(FontAwesomeIcon.Plus, "Add new Secret Key"))
|
if (UiSharedService.IconTextButton(FontAwesomeIcon.Plus, "Add new Secret Key"))
|
||||||
{
|
{
|
||||||
selectedServer.SecretKeys.Add(selectedServer.SecretKeys.LastOrDefault().Key + 1, new SecretKey()
|
selectedServer.SecretKeys.Add(selectedServer.SecretKeys.Max(p => p.Key) + 1, new SecretKey()
|
||||||
{
|
{
|
||||||
FriendlyName = "New Secret Key",
|
FriendlyName = "New Secret Key",
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user