chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:22:33 +08:00
commit fc4fcbab58
1848 changed files with 472303 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
import Foundation
/// Controls what the menu bar displays when brand icon mode is enabled.
enum MenuBarDisplayMode: String, CaseIterable, Identifiable {
case percent
case pace
case both
case resetTime
var id: String {
self.rawValue
}
var label: String {
switch self {
case .percent: L("display_mode_percent")
case .pace: L("display_mode_pace")
case .both: L("display_mode_both")
case .resetTime: L("display_mode_reset_time")
}
}
var description: String {
switch self {
case .percent: L("display_mode_percent_desc")
case .pace: L("display_mode_pace_desc")
case .both: L("display_mode_both_desc")
case .resetTime: L("display_mode_reset_time_desc")
}
}
}