File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
WooCommerce/Classes/Authentication/Epilogue Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ private extension StorePickerViewController {
214214 navigationItem. leftBarButtonItem = UIBarButtonItem ( title: dismissLiteral,
215215 style: . plain,
216216 target: self ,
217- action: #selector( cleanupAndDismiss ) )
217+ action: #selector( dismissStorePicker ) )
218218 }
219219
220220 func setupNavigationForListOfConnectedStores( ) {
@@ -365,12 +365,7 @@ private extension StorePickerViewController {
365365
366366 /// Dismiss this VC
367367 ///
368- @objc func cleanupAndDismiss( ) {
369- if let siteID = currentlySelectedSite? . siteID {
370- delegate? . didSelectStore ( with: siteID, onCompletion: {
371- } )
372- }
373-
368+ @objc func dismissStorePicker( ) {
374369 dismiss ( )
375370 }
376371
You can’t perform that action at this time.
0 commit comments