π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Bug fixed: Using the map values from wrong jsonArray
Muhammed Ayimenbed3bd96127c
diff --git a/lib/ui/settings/data/import/bitwarden_import.dart b/lib/ui/settings/data/import/bitwarden_import.dartindex ec46371462..7b14ceacc7 100644--- a/lib/ui/settings/data/import/bitwarden_import.dart+++ b/lib/ui/settings/data/import/bitwarden_import.dart@@ -84,7 +84,8 @@ Future<int?> _processBitwardenExportFile(return null;}final jsonString = await file.readAsString();- List<dynamic> jsonArray = jsonDecode(jsonString);+ final data = jsonDecode(jsonString);+ List<dynamic> jsonArray = data['items'];final parsedCodes = [];for (var item in jsonArray) {if (item['login']['totp'] != null) {