Skip to content

Commit faf4483

Browse files
staskusjaclync
andauthored
Make variables private
Co-authored-by: Jaclyn Chen <[email protected]>
1 parent ec92a8f commit faf4483

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

WooCommerce/Classes/POS/Adaptors/View Adaptors/POSCouponCreationSheetAdaptor.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import struct Yosemite.Coupon
88

99
struct POSCouponCreationViewAdaptor: View {
1010
@StateObject private var viewModel: AddEditCouponViewModel
11-
@Binding var showTypeSelection: Bool
12-
let dismissHandler: () -> Void
13-
let onDisappear: () -> Void
11+
@Binding private var showTypeSelection: Bool
12+
private let dismissHandler: () -> Void
13+
private let onDisappear: () -> Void
1414

1515
init(discountType: Coupon.DiscountType,
1616
showTypeSelection: Binding<Bool>,

WooCommerce/Classes/POS/Presentation/PointOfSaleCollectCashView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import Combine
33
import WooFoundation
44

55
struct PointOfSaleCollectCashView: View {
6-
@Environment(\.dynamicTypeSize) var dynamicTypeSize
7-
@Environment(\.posAnalytics) var analytics
8-
@Environment(\.posExternalViews) var externalViews
6+
@Environment(\.dynamicTypeSize) private var dynamicTypeSize
7+
@Environment(\.posAnalytics) private var analytics
8+
@Environment(\.posExternalViews) private var externalViews
99
@Environment(\.floatingControlAreaSize) private var floatingControlAreaSize: CGSize
1010
@Environment(PointOfSaleAggregateModel.self) private var posModel
1111
@FocusState private var isTextFieldFocused: Bool

0 commit comments

Comments
 (0)