Skip to content

Commit 64e08c2

Browse files
committed
Use posSoftwareUpdateProgress in POS reader update views.
1 parent e917312 commit 64e08c2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

WooCommerce/Classes/POS/Presentation/Card Present Payments/Connection Alerts/PointOfSaleCardPresentPaymentOptionalReaderUpdateInProgressAlertViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct PointOfSaleCardPresentPaymentOptionalReaderUpdateInProgressAlertViewModel
1414
let id = UUID()
1515

1616
init(progress: Float, cancel: (() -> Void)?) {
17-
self.image = Image(uiImage: .softwareUpdateProgress(progress: CGFloat(progress)))
17+
self.image = Image(uiImage: .posSoftwareUpdateProgress(progress: CGFloat(progress)))
1818
self.progress = progress
1919
self.progressTitle = String(format: Localization.percentCompleteFormat, 100 * progress)
2020

WooCommerce/Classes/POS/Presentation/Card Present Payments/Connection Alerts/PointOfSaleCardPresentPaymentReaderUpdateCompletionAlertViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import SwiftUI
33

44
struct PointOfSaleCardPresentPaymentReaderUpdateCompletionAlertViewModel {
55
let title: String = Localization.title
6-
let image: Image = .init(uiImage: .softwareUpdateProgress(progress: CGFloat(1.0)))
6+
let image: Image = .init(uiImage: .posSoftwareUpdateProgress(progress: CGFloat(1.0)))
77
let progressTitle: String = .init(format: Localization.percentCompleteFormat, 100.0)
88
}
99

WooCommerce/Classes/POS/Presentation/Card Present Payments/Connection Alerts/PointOfSaleCardPresentPaymentRequiredReaderUpdateInProgressAlertViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct PointOfSaleCardPresentPaymentRequiredReaderUpdateInProgressAlertViewModel
1414
let id = UUID()
1515

1616
init(progress: Float, cancel: (() -> Void)?) {
17-
self.image = Image(uiImage: .softwareUpdateProgress(progress: CGFloat(progress)))
17+
self.image = Image(uiImage: .posSoftwareUpdateProgress(progress: CGFloat(progress)))
1818
self.progress = progress
1919
self.progressTitle = String(format: Localization.percentCompleteFormat, 100 * progress)
2020

0 commit comments

Comments
 (0)