Skip to content

Commit

Permalink
Dismiss prompt when URL changed
Browse files Browse the repository at this point in the history
  • Loading branch information
CrisBarreiro committed Nov 11, 2024
1 parent a5b85d6 commit 8d9d84b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,11 @@ class BrowserTabViewModel @Inject constructor(
}
}
}
ctaViewState.value?.cta?.let { cta ->
if (cta is BrokenSitePromptDialogCta) {
command.value = HideBrokenSitePromptCta(cta)
}
}
}

is WebNavigationStateChange.PageNavigationCleared -> disableUserNavigation()
Expand Down

0 comments on commit 8d9d84b

Please sign in to comment.