fixed font issue

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-08-01 14:03:37 -05:00
parent 074700ddfe
commit 15c173d998

View File

@ -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{