fix: linking

This commit is contained in:
Michael Freno
2026-01-17 22:16:12 -05:00
parent ab7811aebd
commit 19b26c9eda
2 changed files with 9 additions and 9 deletions

View File

@@ -39,11 +39,11 @@ enum TimerType: String, Codable, CaseIterable, Identifiable {
var tabIndex: Int {
switch self {
case .lookAway:
return 0
case .blink:
return 1
case .posture:
case .blink:
return 2
case .posture:
return 3
}
}

View File

@@ -96,7 +96,7 @@ struct MenuBarContentView: View {
case .builtIn(let type):
onOpenSettingsTab(type.tabIndex)
case .user:
onOpenSettingsTab(3) // User Timers tab
onOpenSettingsTab(4)
}
}
)