fix: linking
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ struct MenuBarContentView: View {
|
||||
case .builtIn(let type):
|
||||
onOpenSettingsTab(type.tabIndex)
|
||||
case .user:
|
||||
onOpenSettingsTab(3) // User Timers tab
|
||||
onOpenSettingsTab(4)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user