File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
WooCommerce/Classes/ViewRelated/Dashboard Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ final class DashboardViewController: UIViewController {
8888 return view
8989 } ( )
9090
91- private var cancellables = Set < AnyCancellable > ( )
91+ private var subscriptions = Set < AnyCancellable > ( )
9292
9393 // MARK: View Lifecycle
9494
@@ -423,7 +423,7 @@ private extension DashboardViewController {
423423 guard let self = self else { return }
424424 self . updateUI ( site: site)
425425 self . reloadData ( forced: true )
426- } . store ( in: & cancellables )
426+ } . store ( in: & subscriptions )
427427 }
428428
429429 func observeBottomJetpackBenefitsBannerVisibilityUpdates( ) {
@@ -447,7 +447,7 @@ private extension DashboardViewController {
447447 self . updateJetpackBenefitsBannerVisibility ( isBannerVisible: shouldShowJetpackBenefitsBanner, contentView: contentView)
448448 }
449449 ServiceLocator . stores. dispatch ( action)
450- } . store ( in: & cancellables )
450+ } . store ( in: & subscriptions )
451451 }
452452
453453 func observeNavigationBarHeightForStoreNameLabelVisibility( ) {
@@ -462,7 +462,7 @@ private extension DashboardViewController {
462462 }
463463 self . storeNameLabel. isHidden = navigationBarHeight <= Constants . collapsedNavigationBarHeight
464464 } )
465- . store ( in: & cancellables )
465+ . store ( in: & subscriptions )
466466 }
467467}
468468
You can’t perform that action at this time.
0 commit comments