diff --git a/Gaze/Models/TimerType.swift b/Gaze/Models/TimerType.swift index 738b6f3..eacd638 100644 --- a/Gaze/Models/TimerType.swift +++ b/Gaze/Models/TimerType.swift @@ -11,9 +11,9 @@ enum TimerType: String, Codable, CaseIterable, Identifiable { case lookAway case blink case posture - + var id: String { rawValue } - + var displayName: String { switch self { case .lookAway: @@ -24,7 +24,7 @@ enum TimerType: String, Codable, CaseIterable, Identifiable { return "Posture" } } - + var iconName: String { switch self { case .lookAway: @@ -35,18 +35,18 @@ enum TimerType: String, Codable, CaseIterable, Identifiable { return "figure.stand" } } - + var tabIndex: Int { switch self { case .lookAway: - return 0 - case .blink: return 1 - case .posture: + case .blink: return 2 + case .posture: + return 3 } } - + var tooltipText: String { switch self { case .lookAway: diff --git a/Gaze/Views/MenuBar/MenuBarContentView.swift b/Gaze/Views/MenuBar/MenuBarContentView.swift index d472176..f459e80 100644 --- a/Gaze/Views/MenuBar/MenuBarContentView.swift +++ b/Gaze/Views/MenuBar/MenuBarContentView.swift @@ -96,7 +96,7 @@ struct MenuBarContentView: View { case .builtIn(let type): onOpenSettingsTab(type.tabIndex) case .user: - onOpenSettingsTab(3) // User Timers tab + onOpenSettingsTab(4) } } )