Fixing missing event to start verification process

This commit is contained in:
Maxime NATUREL 2022-09-15 11:03:01 +02:00
parent 35db958279
commit 32b5606498
2 changed files with 2 additions and 4 deletions

View file

@ -85,8 +85,7 @@ class VectorSettingsDevicesFragment :
).show(childFragmentManager, "REQPOP")
}
is DevicesViewEvents.SelfVerification -> {
VerificationBottomSheet.forSelfVerification(it.session)
.show(childFragmentManager, "REQPOP")
navigator.requestSelfSessionVerification(requireActivity())
}
is DevicesViewEvents.ShowManuallyVerify -> {
ManuallyVerifyDialog.show(requireActivity(), it.cryptoDeviceInfo) {

View file

@ -101,8 +101,7 @@ class VectorSettingsDevicesFragment :
).show(childFragmentManager, "REQPOP")
}
is DevicesViewEvent.SelfVerification -> {
VerificationBottomSheet.forSelfVerification(it.session)
.show(childFragmentManager, "REQPOP")
navigator.requestSelfSessionVerification(requireActivity())
}
is DevicesViewEvent.ShowManuallyVerify -> {
ManuallyVerifyDialog.show(requireActivity(), it.cryptoDeviceInfo) {