Skip to content

Commit aeb02b5

Browse files
committed
Remove condition in notification deeplink
1 parent 137edcc commit aeb02b5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

WooCommerce/Classes/ViewRelated/MainTabBarController.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,8 @@ extension MainTabBarController {
337337
}
338338
let siteID = Int64(note.meta.identifier(forKey: .site) ?? Int.min)
339339

340-
switchToStore(with: siteID, onCompletion: { siteChanged in
341-
if siteChanged {
342-
presentNotificationDetails(for: note)
343-
}
340+
switchToStore(with: siteID, onCompletion: { _ in
341+
presentNotificationDetails(for: note)
344342
})
345343
}
346344
ServiceLocator.stores.dispatch(action)

0 commit comments

Comments
 (0)