diff --git a/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/Core/PaymentComponent/PaymentInfoQuestionHeaderViewCell.swift b/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/Core/PaymentComponent/PaymentInfoQuestionHeaderViewCell.swift index 4cf4580bb..ee56d797c 100644 --- a/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/Core/PaymentComponent/PaymentInfoQuestionHeaderViewCell.swift +++ b/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/Core/PaymentComponent/PaymentInfoQuestionHeaderViewCell.swift @@ -87,7 +87,7 @@ final class PaymentInfoQuestionHeaderViewModel { init(title: String, isExtended: Bool) { self.titleText = title let giniConfiguration = GiniHealthConfiguration.shared - self.titleFont = giniConfiguration.textStyleFonts[.body1] ?? giniConfiguration.customFont.regular + self.titleFont = giniConfiguration.textStyleFonts[.body1] ?? UIFont.systemFont(ofSize: 16) self.extendedIconName = isExtended ? minusIcon : plusIcon } } diff --git a/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/Core/PaymentComponent/PaymentInfoViewModel.swift b/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/Core/PaymentComponent/PaymentInfoViewModel.swift index 17b944e82..b27724afc 100644 --- a/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/Core/PaymentComponent/PaymentInfoViewModel.swift +++ b/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/Core/PaymentComponent/PaymentInfoViewModel.swift @@ -65,8 +65,8 @@ final class PaymentInfoViewModel { let giniHealthConfiguration = GiniHealthConfiguration.shared - let defaultRegularFont: UIFont = giniHealthConfiguration.customFont.regular - let defaultBoldFont: UIFont = giniHealthConfiguration.customFont.bold + let defaultRegularFont: UIFont = UIFont.systemFont(ofSize: 13, weight: .regular) + let defaultBoldFont: UIFont = UIFont.systemFont(ofSize: 13, weight: .bold) payBillsTitleFont = giniHealthConfiguration.textStyleFonts[.subtitle1] ?? defaultBoldFont payBillsDescriptionFont = giniHealthConfiguration.textStyleFonts[.body2] ?? defaultRegularFont