fixed font issue
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
074700ddfe
commit
15c173d998
@ -14,9 +14,8 @@ public protocol FontProtocol: CaseIterable, RawRepresentable, Hashable {
|
||||
}
|
||||
|
||||
extension FontProtocol {
|
||||
|
||||
public func register() {
|
||||
guard let bundle = Bundle(identifier: "com.verizon.vega.metrics") else { return }
|
||||
guard let bundle = Bundle(identifier: "com.vzw.vds") else { return }
|
||||
Self.allCases.forEach{ font in
|
||||
if let url = bundle.url(forResource: font.fontName, withExtension: font.fontFileExtension){
|
||||
do{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user