aboutsummaryrefslogtreecommitdiff
path: root/Hotline/MacApp.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hotline/MacApp.swift')
-rw-r--r--Hotline/MacApp.swift10
1 files changed, 5 insertions, 5 deletions
diff --git a/Hotline/MacApp.swift b/Hotline/MacApp.swift
index a91df52..0682c1d 100644
--- a/Hotline/MacApp.swift
+++ b/Hotline/MacApp.swift
@@ -270,15 +270,15 @@ struct Application: App {
}
.disabled(activeHotline?.status != .loggedIn)
.keyboardShortcut(.init("1"), modifiers: .command)
- Button("Show News") {
- activeServerState?.selection = .news
- }
- .disabled(activeHotline?.status != .loggedIn || (activeHotline?.serverVersion ?? 0) < 151)
- .keyboardShortcut(.init("2"), modifiers: .command)
Button("Show Message Board") {
activeServerState?.selection = .board
}
.disabled(activeHotline?.status != .loggedIn)
+ .keyboardShortcut(.init("2"), modifiers: .command)
+ Button("Show News") {
+ activeServerState?.selection = .news
+ }
+ .disabled(activeHotline?.status != .loggedIn || (activeHotline?.serverVersion ?? 0) < 151)
.keyboardShortcut(.init("3"), modifiers: .command)
Button("Show Files") {
activeServerState?.selection = .files