31 lines · 800 B · Swift
RawDownload
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")        }    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t