fix: linking
This commit is contained in:
@@ -39,11 +39,11 @@ enum TimerType: String, Codable, CaseIterable, Identifiable {
|
|||||||
var tabIndex: Int {
|
var tabIndex: Int {
|
||||||
switch self {
|
switch self {
|
||||||
case .lookAway:
|
case .lookAway:
|
||||||
return 0
|
|
||||||
case .blink:
|
|
||||||
return 1
|
return 1
|
||||||
case .posture:
|
case .blink:
|
||||||
return 2
|
return 2
|
||||||
|
case .posture:
|
||||||
|
return 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ struct MenuBarContentView: View {
|
|||||||
case .builtIn(let type):
|
case .builtIn(let type):
|
||||||
onOpenSettingsTab(type.tabIndex)
|
onOpenSettingsTab(type.tabIndex)
|
||||||
case .user:
|
case .user:
|
||||||
onOpenSettingsTab(3) // User Timers tab
|
onOpenSettingsTab(4)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user