diff --git a/lib/entities/fs_migration.dart b/lib/entities/fs_migration.dart index 2cdc24952..462e30843 100644 --- a/lib/entities/fs_migration.dart +++ b/lib/entities/fs_migration.dart @@ -349,8 +349,8 @@ Future ios_migrate_trades_list(Box tradeSource) async { final masterPassword = await flutterSecureStorage.read( key: 'master_password', iOptions: IOSOptions(syncFlag: "syna")); final key = masterPassword.replaceAll('-', ''); - final decoded = await ios_legacy_helper.decrypt(content, - key: key, salt: secrets.keychainSalt); + final decoded = + await ios_legacy_helper.decrypt(content, key: key, salt: secrets.salt); final decodedJson = json.decode(decoded) as List; final trades = decodedJson.map((dynamic el) { final elAsMap = el as Map;