Skip to content

Commit 6a05397

Browse files
authored
Fix issue showing order details from push notifications (#15247)
2 parents bbd341a + 2c6340c commit 6a05397

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

WooCommerce/Classes/ViewRelated/Orders/OrdersSplitViewWrapperController.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ final class OrdersSplitViewWrapperController: UIViewController {
3434
return
3535
}
3636

37-
presentDetails(for: Int64(orderID), siteID: Int64(siteID), note: note)
37+
// workaround - delay to ensure the transition to the secondary column works after switching stores
38+
DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) { [self] in
39+
presentDetails(for: Int64(orderID), siteID: Int64(siteID), note: note)
40+
}
3841
}
3942

4043
func presentDetails(for orderID: Int64, siteID: Int64, note: Note? = nil) {

0 commit comments

Comments
 (0)