Skip to content

Commit

Permalink
[local_auth] Fix usage syntax on README (flutter#1840)
Browse files Browse the repository at this point in the history
* Fix README syntax on Usage section
  • Loading branch information
nurseiit authored and collinjackson committed Jul 13, 2019
1 parent 1dafe77 commit e6da42f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/local_auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## 0.5.2+4

* Update README to fix syntax error.

## 0.5.2+3

* Update documentation to clarify the need for FragmentActivity.

## 0.5.2+2
Expand Down
2 changes: 1 addition & 1 deletion packages/local_auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Currently the following biometric types are implemented:
To get a list of enrolled biometrics, call getAvailableBiometrics:

```dart
List<BiometricType> availableBiometrics;
List<BiometricType> availableBiometrics =
await auth.getAvailableBiometrics();
if (Platform.isIOS) {
Expand Down
2 changes: 1 addition & 1 deletion packages/local_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Flutter plugin for Android and iOS device authentication sensors
such as Fingerprint Reader and Touch ID.
author: Flutter Team <[email protected]>
homepage: https://github.com/flutter/plugins/tree/master/packages/local_auth
version: 0.5.2+3
version: 0.5.2+4

flutter:
plugin:
Expand Down

0 comments on commit e6da42f

Please sign in to comment.