Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo #197

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions DockDoor/consts.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ extension Defaults.Keys {
static let screenCaptureCacheLifespan = Key<CGFloat>("screenCaptureCacheLifespan", default: 60 )
static let uniformCardRadius = Key<Bool>("uniformCardRadius", default: true )
static let tapEquivalentInterval = Key<CGFloat>("tapEquivalentInterval", default: 1.5 )
static let previewHoverAction = Key<PreviewHoverAction>("previewHoverAction", default: PreviewHoverAction.none )
static let previewHoverAction = Key<PreviewHoverAction>("previewHoverAction", default: .none )

static let showAnimations = Key<Bool>("showAnimations", default: true )
static let enableWindowSwitcher = Key<Bool>("enableWindowSwitcher", default: true )
Expand All @@ -40,8 +40,8 @@ extension Defaults.Keys {

static let showWindowTitle = Key<Bool>("showWindowTitle", default: true )
static let windowTitleDisplayCondition = Key<WindowTitleDisplayCondition>("windowTitleDisplayCondition", default: .all)
static let windowTitleVisibility = Key<WindowTitleVisibility>("windowTitleVisibility", default: .whenOveringPreview)
static let windowTitlePosition = Key<WindowTitlePosition>("windowTitlePosition", default: WindowTitlePosition.bottomLeft )
static let windowTitleVisibility = Key<WindowTitleVisibility>("windowTitleVisibility", default: .whenHoveringPreview)
static let windowTitlePosition = Key<WindowTitlePosition>("windowTitlePosition", default: .bottomLeft )

static let trafficLightButtonsVisibility = Key<TrafficLightButtonsVisibility>("trafficLightButtonsVisibility", default: .dimmedOnPreviewHover )
}
Expand Down Expand Up @@ -98,12 +98,12 @@ enum AppNameStyle: String, CaseIterable, Defaults.Serializable {
}

enum WindowTitleVisibility: String, CaseIterable, Defaults.Serializable {
case whenOveringPreview
case whenHoveringPreview
case alwaysVisible

var localizedName: String {
switch self {
case .whenOveringPreview:
case .whenHoveringPreview:
String(localized: "When hovering over the preview", comment: "Window title visibility option")
case .alwaysVisible:
String(localized: "Always visible", comment: "Window title visibility option")
Expand Down