Skip to content

Commit 88b9252

Browse files
committed
Make method private. Change var for let
1 parent c49bc33 commit 88b9252

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Creation/FlowCoordinator/NewSimplePaymentsLocationNoticeViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class NewSimplePaymentsLocationNoticeViewController: UIViewController {
3131
super.viewWillLayoutSubviews()
3232
}
3333

34-
func setupNewSimplePaymentsNoticeView() {
34+
private func setupNewSimplePaymentsNoticeView() {
3535
let hostingController = UIHostingController(rootView: simplePaymentsNoticeView)
3636
addChild(hostingController)
3737
view.addSubview(hostingController.view)

WooCommerce/Classes/ViewRelated/Orders/Order Creation/FlowCoordinator/NewSimplePaymentsLocationNoticeViewModel.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ final class NewSimplePaymentsLocationNoticeViewModel {
44
let title: String
55
let message: String
66
let confirmationButtonMessage: String
7-
8-
var icon: UIImage = .walletImage
7+
let icon: UIImage = .walletImage
98

109
/// Redirects to `HubMenu`tabBar
1110
///

0 commit comments

Comments
 (0)