Skip to content

Commit

Permalink
🎬 Fix example app deep link handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaatttt committed Oct 16, 2024
1 parent c06b156 commit f2fbca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class DeepLinkNavigator: AppcuesNavigationDelegate {
}

guard let windowScene = scene as? UIWindowScene,
let window = windowScene.windows.first(where: { $0.isKeyWindow }),
let window = windowScene.windows.first(where: { !$0.isAppcuesWindow }),
let origin = AppScreen(rootController: window.rootViewController)
else {
// cannot find the screen information to navigate, fail navigation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class DeepLinkNavigator: AppcuesNavigationDelegate {
}

guard let windowScene = scene as? UIWindowScene,
let window = windowScene.windows.first(where: { $0.isKeyWindow }),
let window = windowScene.windows.first(where: { !$0.isAppcuesWindow }),
let origin = AppScreen(rootController: window.rootViewController)
else {
// cannot find the screen information to navigate, fail navigation
Expand Down

0 comments on commit f2fbca9

Please sign in to comment.