Bug fixed: Using the map values from wrong jsonArray
This commit is contained in:
parent
27c8111e63
commit
bed3bd9612
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue