Also reset payload flags when resetting AddNearbyContact state

This commit is contained in:
Torsten Grote
2021-04-08 14:21:17 -03:00
parent c53fc5eaa3
commit a64878bd00

View File

@@ -292,6 +292,7 @@ class AddNearbyContactViewModel extends AndroidViewModel
hasEnabledBluetooth = false;
// reset state, so we don't show an old QR code again
state.setValue(null);
resetPayloadFlags();
// start to listen with a KeyAgreementTask
startListening();
showQrCodeFragment.setEvent(true);