Hello, there is a difference between these two imp...
# compose-android
m
Hello, there is a difference between these two implementation right
Copy code
val scope = rememberCouroutine()
if(showBiometric) {
   scope.launch {
      //show Biometric
   }
}
vs
Copy code
if(showBiometric) {
   val scope = rememberCouroutine()
   scope.launch {
      //show Biometric
   }
}
in the second one, if showBiometric is false, the scope gets killed right?
c
in the second one, if showBiometric is false, the scope gets killed right?
Did not test it, but I think so, yes