Reset the handlers when coming back from ShowQrCode screen.

This commit is contained in:
Benoit Marty 2025-12-18 15:07:08 +01:00
parent 92e417a9ba
commit 229e9f9bc4

View file

@ -247,6 +247,7 @@ class LinkNewDeviceFlowNode(
is NavTarget.MobileShowQrCode -> {
val callback = object : ShowQrCodeNode.Callback {
override fun navigateBack() {
linkNewMobileHandler.reset()
backstack.pop()
}
}