Decode the recovery key into hex instead of base64

This commit is contained in:
vishnukvmd 2022-11-13 11:41:40 +05:30
parent 37db940720
commit 0965b367cc

View file

@ -48,7 +48,7 @@ class AccountSectionWidget extends StatelessWidget {
String recoveryKey;
try {
recoveryKey =
Sodium.bin2base64(Configuration.instance.getRecoveryKey());
Sodium.bin2hex(Configuration.instance.getRecoveryKey());
} catch (e) {
showGenericErrorDialog(context);
return;