Fix SwiftLint warning
This commit is contained in:
@ -36,6 +36,7 @@ extension FontName {
|
||||
Font.custom(FontName.\(fontNameSanitize).rawValue, size: size)
|
||||
}
|
||||
"""
|
||||
|
||||
case (true, false):
|
||||
// SwiftUI, Not Static => func
|
||||
"""
|
||||
@ -43,6 +44,7 @@ extension FontName {
|
||||
Font.custom(FontName.\(fontNameSanitize).rawValue, size: size)
|
||||
}
|
||||
"""
|
||||
|
||||
case (false, true):
|
||||
// UIKit, Static => let
|
||||
"""
|
||||
@ -50,6 +52,7 @@ extension FontName {
|
||||
UIFont(name: FontName.\(fontNameSanitize).rawValue, size: size)!
|
||||
}
|
||||
"""
|
||||
|
||||
case (false, false):
|
||||
// UIKit, Not Static => func
|
||||
"""
|
||||
|
Reference in New Issue
Block a user