corrected error with salt secret

Tanner Silva committed Oct 19, 2020 at 11:17 UTC ca5b4c7cc7d1404d7e1dabaf247f61646ac2e9b0
1 file changed +2 -2
lib/entities/fs_migration.dart
+2 -2
@@ -349,8 +349,8 @@ Future<void> ios_migrate_trades_list(Box<Trade> tradeSource) async {
349 final masterPassword = await flutterSecureStorage.read(
350 key: 'master_password', iOptions: IOSOptions(syncFlag: "syna"));
351 final key = masterPassword.replaceAll('-', '');
352 - final decoded = await ios_legacy_helper.decrypt(content,
353 - key: key, salt: secrets.keychainSalt);
352 + final decoded =
353 + await ios_legacy_helper.decrypt(content, key: key, salt: secrets.salt);
354 final decodedJson = json.decode(decoded) as List<dynamic>;
355 final trades = decodedJson.map((dynamic el) {
356 final elAsMap = el as Map<String, dynamic>;