|
|
|
|
@ -84,14 +84,15 @@ struct LockScreenCountdownView: View { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private var font: Font { |
|
|
|
|
switch self.family { |
|
|
|
|
case .systemSmall, .systemMedium, .systemLarge, .systemExtraLarge: |
|
|
|
|
return .body |
|
|
|
|
case .accessoryCircular: |
|
|
|
|
return Font.system(.callout, weight: .medium) |
|
|
|
|
default: |
|
|
|
|
return .body |
|
|
|
|
} |
|
|
|
|
return .body |
|
|
|
|
// switch self.family { |
|
|
|
|
// case .systemSmall, .systemMedium, .systemLarge, .systemExtraLarge: |
|
|
|
|
// return .body |
|
|
|
|
// case .accessoryCircular: |
|
|
|
|
// return Font.system(.body, weight: .medium) |
|
|
|
|
// default: |
|
|
|
|
// return .body |
|
|
|
|
// } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|