Skip to content

Commit 23840a8

Browse files
Merge pull request #1028 from td3447/docs/1027-reset-on-error
docs(AndroidOptions): clarify resetOnError default value and fix typo
2 parents 077ba13 + d2f1a59 commit 23840a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flutter_secure_storage/lib/options/android_options.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ class AndroidOptions extends Options {
9999

100100
/// When an error is detected, automatically reset all data. This will prevent
101101
/// fatal errors regarding an unknown key however keep in mind that it will
102-
/// PERMANENLTY erase the data when an error occurs.
102+
/// PERMANENTLY erase the data when an error occurs.
103103
///
104-
/// Defaults to false.
104+
/// Defaults to true.
105105
final bool _resetOnError;
106106

107107
/// When the encryption algorithm changes, automatically migrate existing data

0 commit comments

Comments
 (0)