Skip to content

Commit c35a5db

Browse files
committed
Dynamic typing is the devil
1 parent 93e2687 commit c35a5db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/secure_storage.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class StorageCryptoHandler {
178178
}
179179

180180
/// Reset the passphrase, which resets the salt and main key
181-
Future<void> resetPassphrase(String passphrase, version) async {
181+
Future<void> resetPassphrase(String passphrase, int version) async {
182182
// Generate a random salt
183183
_salt = _randomBytes(saltLength);
184184

0 commit comments

Comments
 (0)