From 19b26c9eda40882a034d5d7ae9692420c207d7ef Mon Sep 17 00:00:00 2001 From: Michael Freno Date: Sat, 17 Jan 2026 22:16:12 -0500 Subject: [PATCH] fix: linking --- Gaze/Models/TimerType.swift | 16 ++++++++-------- Gaze/Views/MenuBar/MenuBarContentView.swift | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) 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) } } )