π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix lint
Prateek Sunal4c31304b1612
diff --git a/mobile/apps/auth/lib/ui/settings/data/import/encrypted_ente_import.dart b/mobile/apps/auth/lib/ui/settings/data/import/encrypted_ente_import.dartindex 2088dbb456..0725ea51b1 100644--- a/mobile/apps/auth/lib/ui/settings/data/import/encrypted_ente_import.dart+++ b/mobile/apps/auth/lib/ui/settings/data/import/encrypted_ente_import.dart@@ -80,7 +80,7 @@ Future<void> _decryptExportData(enteAuthExport.kdfParams.memLimit,enteAuthExport.kdfParams.opsLimit,);- Uint8List? decryptedContent;+ late final Uint8List decryptedContent;try {decryptedContent = await CryptoUtil.decryptData(CryptoUtil.base642bin(enteAuthExport.encryptedData),@@ -94,7 +94,7 @@ Future<void> _decryptExportData(await progressDialog.hide();return;}- String content = utf8.decode(decryptedContent!);+ String content = utf8.decode(decryptedContent);List<String> splitCodes = content.split("\n");final parsedCodes = [];for (final code in splitCodes) {diff --git a/mobile/apps/auth/pubspec.yaml b/mobile/apps/auth/pubspec.yamlindex 892a2cb807..c6f11222ed 100644--- a/mobile/apps/auth/pubspec.yaml+++ b/mobile/apps/auth/pubspec.yaml@@ -56,7 +56,6 @@ dependencies:expansion_tile_card: ^3.0.0ffi: ^2.1.0figma_squircle: ^0.6.3- launcher_icon_switcher: ^0.0.2file_picker: ^10.3.2file_saver: ^0.3.1fixnum: ^1.1.0@@ -101,6 +100,7 @@ dependencies:intl: ^0.20.2io: ^1.0.4json_annotation: ^4.5.0+ launcher_icon_switcher: ^0.0.2local_auth: ^2.3.0local_auth_android: ^1.0.37local_auth_darwin: ^1.2.2