Skip to content

Commit

Permalink
chore(secure_storage): Fix analysis issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dillon Nys authored and dnys1 committed Aug 16, 2023
1 parent fddba87 commit c96b1f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import 'package:win32/win32.dart'

/// Encrypts the provided string as a [Uint8List].
Uint8List encryptString(String value) {
final encodedValue = utf8.encode(value) as Uint8List;
final encodedValue = const Utf8Encoder().convert(value);
return encrypt(encodedValue);
}

Expand Down

0 comments on commit c96b1f4

Please sign in to comment.