Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
segecey committed Jun 6, 2020
1 parent 099eea1 commit 6606f14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SwiftIconFont/Classes/Shared/FontLoader.swift
Expand Up @@ -58,7 +58,7 @@ class FontLoader: NSObject {
}

public extension Font {
#if os(iOS)
#if os(iOS) || os(tvOS)
static func icon(from font: Fonts, ofSize size: CGFloat) -> UIFont {
let fontName = font.rawValue
if (UIFont.fontNames(forFamilyName: font.fontFamilyName).count == 0)
Expand Down
2 changes: 1 addition & 1 deletion SwiftIconFont/Classes/Shared/SwiftIconFont.swift
Expand Up @@ -7,7 +7,7 @@
//


#if os(iOS)
#if os(iOS) || os(tvOS)
import UIKit
typealias Font = UIFont
typealias Color = UIColor
Expand Down

0 comments on commit 6606f14

Please sign in to comment.