@jimrising/easymerchantsdk-react-native 1.3.2 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,40 @@
1
+ //
2
+ // RecurringTVC.swift
3
+ // EasyPay
4
+ //
5
+ // Created by Mony's Mac on 14/05/25.
6
+ //
7
+
8
+ import UIKit
9
+
10
+ class RecurringTVC: UITableViewCell {
11
+
12
+ @IBOutlet weak var viewCell: UIView!
13
+ @IBOutlet weak var lblRecurringDuration: UILabel!
14
+
15
+ override func awakeFromNib() {
16
+ super.awakeFromNib()
17
+
18
+ if let primaryFontColor = UserStoreSingleton.shared.primary_font_col,
19
+ let uiColor = UIColor(hex: primaryFontColor) {
20
+ lblRecurringDuration.textColor = uiColor
21
+ }
22
+
23
+ if let fontSizeString = UserStoreSingleton.shared.fontSize,
24
+ let fontSizeDouble = Double(fontSizeString) { // Convert String to Double
25
+ let fontSize = CGFloat(fontSizeDouble) // Convert Double to CGFloat
26
+ lblRecurringDuration.font = UIFont.systemFont(ofSize: fontSize)
27
+ }
28
+ }
29
+
30
+ override func layoutSubviews() {
31
+ super.layoutSubviews()
32
+
33
+ if let containerBGcolor = UserStoreSingleton.shared.container_bg_col,
34
+ let uiColor = UIColor(hex: containerBGcolor) {
35
+ self.contentView.backgroundColor = uiColor
36
+ viewCell?.backgroundColor = uiColor // Prevents crash if viewCell is nil
37
+ }
38
+ }
39
+
40
+ }
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'easymerchantsdk'
3
- s.version = '1.3.2'
3
+ s.version = '1.3.4'
4
4
  s.summary = 'A React Native SDK for Easy Merchant.'
5
5
  s.description = <<-DESC
6
6
  A React Native SDK to enable Easy Merchant functionality in mobile applications.