mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 13:19:52 +01:00
Also reset payload flags when resetting AddNearbyContact state
This commit is contained in:
@@ -292,6 +292,7 @@ class AddNearbyContactViewModel extends AndroidViewModel
|
|||||||
hasEnabledBluetooth = false;
|
hasEnabledBluetooth = false;
|
||||||
// reset state, so we don't show an old QR code again
|
// reset state, so we don't show an old QR code again
|
||||||
state.setValue(null);
|
state.setValue(null);
|
||||||
|
resetPayloadFlags();
|
||||||
// start to listen with a KeyAgreementTask
|
// start to listen with a KeyAgreementTask
|
||||||
startListening();
|
startListening();
|
||||||
showQrCodeFragment.setEvent(true);
|
showQrCodeFragment.setEvent(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user