forked from reya/coop-mobile
update scan qr screen
This commit is contained in:
@@ -42,9 +42,7 @@ fun ScanScreen(
|
||||
val snackbarHostState = LocalSnackbarHostState.current
|
||||
|
||||
val onResult: (String) -> Unit = { result ->
|
||||
navController.previousBackStackEntry
|
||||
?.savedStateHandle
|
||||
?.set("qr_result", result)
|
||||
navController.previousBackStackEntry?.savedStateHandle?.set("qr_result", result)
|
||||
navController.popBackStack()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user