mirror of
https://github.com/bitwarden/android.git
synced 2026-03-12 05:04:17 -05:00
PM-19809: Update flight recorder tooltip url (#5082)
This commit is contained in:
@@ -71,8 +71,7 @@ fun AboutScreen(
|
||||
AboutEvent.NavigateToRecordedLogs -> onNavigateToRecordedLogs()
|
||||
|
||||
AboutEvent.NavigateToFlightRecorderHelp -> {
|
||||
// TODO: PM-19809 Update this URL to be specific to the flight recorder
|
||||
intentManager.launchUri("https://bitwarden.com/help".toUri())
|
||||
intentManager.launchUri("https://bitwarden.com/help/flight-recorder".toUri())
|
||||
}
|
||||
|
||||
AboutEvent.NavigateToHelpCenter -> {
|
||||
|
||||
@@ -56,7 +56,7 @@ fun FlightRecorderScreen(
|
||||
when (event) {
|
||||
FlightRecorderEvent.NavigateBack -> onNavigateBack()
|
||||
FlightRecorderEvent.NavigateToHelpCenter -> {
|
||||
intentManager.launchUri(uri = "https://bitwarden.com/help".toUri())
|
||||
intentManager.launchUri(uri = "https://bitwarden.com/help/flight-recorder".toUri())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,7 +192,7 @@ class AboutScreenTest : BaseComposeTest() {
|
||||
fun `on NavigateToFlightRecorderHelp should call launchUri on IntentManager`() {
|
||||
mutableEventFlow.tryEmit(AboutEvent.NavigateToFlightRecorderHelp)
|
||||
verify(exactly = 1) {
|
||||
intentManager.launchUri("https://bitwarden.com/help".toUri())
|
||||
intentManager.launchUri("https://bitwarden.com/help/flight-recorder".toUri())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ class FlightRecorderScreenTest : BaseComposeTest() {
|
||||
fun `on NavigateToHelpCenter event should launch intent for help center`() {
|
||||
mutableEventFlow.tryEmit(FlightRecorderEvent.NavigateToHelpCenter)
|
||||
verify(exactly = 1) {
|
||||
intentManager.launchUri(uri = "https://bitwarden.com/help".toUri())
|
||||
intentManager.launchUri(uri = "https://bitwarden.com/help/flight-recorder".toUri())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user