File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
WooCommerce/Classes/ViewRelated/Orders Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ final class OrdersRootViewController: UIViewController {
6464
6565 override func viewWillAppear( _ animated: Bool ) {
6666 // Needed in ViewWillAppear because this View Controller is never recreated.
67- fetchSimplePaymentsExperimentalToggleAndConfigureNavigationButtons ( )
67+ fetchExperimentalTogglesAndConfigureNavigationButtons ( )
6868 }
6969
7070 override func viewDidLayoutSubviews( ) {
@@ -154,15 +154,15 @@ private extension OrdersRootViewController {
154154 inPersonPaymentsUseCase. $state
155155 . removeDuplicates ( )
156156 . sink { [ weak self] _ in
157- self ? . fetchSimplePaymentsExperimentalToggleAndConfigureNavigationButtons ( )
157+ self ? . fetchExperimentalTogglesAndConfigureNavigationButtons ( )
158158 }
159159 . store ( in: & subscriptions)
160160 inPersonPaymentsUseCase. refresh ( )
161161 }
162162
163- /// Fetches the latest value of the SimplePayments experimental feature toggle and re configures navigation buttons.
163+ /// Fetches the latest values of order-related experimental feature toggles and re configures navigation buttons.
164164 ///
165- func fetchSimplePaymentsExperimentalToggleAndConfigureNavigationButtons ( ) {
165+ func fetchExperimentalTogglesAndConfigureNavigationButtons ( ) {
166166 let group = DispatchGroup ( )
167167
168168 var isSimplePaymentsEnabled = false
You can’t perform that action at this time.
0 commit comments