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 7, 2024
1 parent 52f554d commit 84f24e5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,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 84f24e5

Please sign in to comment.