Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ fun App(windowWidth: WindowWidthSizeClass = WindowWidthSizeClass.Compact, hinge:
entryId = entry.arguments?.getLong("id") ?: 0L,
onBack = { navController.popBackStack() },
onTestAgain = { serverName ->
navController.navigateTo(Destination.SPEEDTEST)
//pop the result off the stack instead of using the tab helper:
//its saveState/restoreState would put this result screen back on
//top of the speedtest screen, hiding the test it just started
navController.popBackStack(Destination.SPEEDTEST.route, inclusive = false)
speedtestViewModel.testAgain(serverName)
},
onTestDetails = { id -> navController.navigate("testdetails/$id") },
Expand Down