diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-10 15:19:11 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-10 15:19:11 -0700 |
| commit | f8bb263ad12b87da4a7a249edd44932a9e7d1f17 (patch) | |
| tree | f74af8ce88789204c760f286957a2551c5f1bf04 /Hotline/Application-macOS.swift | |
| parent | bb292ec9ade3ed323108ff805b4a6c53115122ba (diff) | |
Add account management functionality
Diffstat (limited to 'Hotline/Application-macOS.swift')
| -rw-r--r-- | Hotline/Application-macOS.swift | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Hotline/Application-macOS.swift b/Hotline/Application-macOS.swift index 9aec187..63b127a 100644 --- a/Hotline/Application-macOS.swift +++ b/Hotline/Application-macOS.swift @@ -226,6 +226,11 @@ struct Application: App { } .disabled(activeHotline?.status != .loggedIn) .keyboardShortcut(.init("4"), modifiers: .command) + Button("Show Accounts") { + activeServerState?.selection = .accounts + } + .disabled(activeHotline?.status != .loggedIn || activeHotline?.access?.contains(.canOpenUsers) == false ) + .keyboardShortcut(.init("5"), modifiers: .command) } } |