|
@ -46,13 +46,13 @@ enum EventViewKind { |
|
|
func eventviewsize_to_font(_ size: EventViewKind) -> Font { |
|
|
func eventviewsize_to_font(_ size: EventViewKind) -> Font { |
|
|
switch size { |
|
|
switch size { |
|
|
case .small: |
|
|
case .small: |
|
|
return .caption |
|
|
return .body |
|
|
case .normal: |
|
|
case .normal: |
|
|
return .body |
|
|
return .body |
|
|
case .big: |
|
|
case .big: |
|
|
return .headline |
|
|
return .headline |
|
|
case .selected: |
|
|
case .selected: |
|
|
return .headline |
|
|
return .custom("selected", size: 21.0) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|