Ver Fonte

Remove unnecessary type casting

vishnukvmd há 2 anos atrás
pai
commit
43fb16bf52
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      lib/services/user_service.dart

+ 2 - 2
lib/services/user_service.dart

@@ -681,9 +681,9 @@ class UserService {
         data: {
           "code": code,
           "encryptedTwoFactorSecret":
-              CryptoUtil.bin2base64(encryptionResult.encryptedData as Uint8List),
+              CryptoUtil.bin2base64(encryptionResult.encryptedData!),
           "twoFactorSecretDecryptionNonce":
-              CryptoUtil.bin2base64(encryptionResult.nonce as Uint8List),
+              CryptoUtil.bin2base64(encryptionResult.nonce!),
         },
       );
       await dialog.hide();