Skip to content

Commit

Permalink
typo version
Browse files Browse the repository at this point in the history
  • Loading branch information
fkotsian committed Jan 24, 2020
1 parent 45b98e7 commit 879babb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/authenticate.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default ({ description, onAttempt }) => {
onAttempt = nullOnAttempt;
}

if (Platform.VERSION < 23) {
if (Platform.Version < 23) {
return authLegacy(onAttempt);
}

Expand Down
2 changes: 1 addition & 1 deletion src/release.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { DeviceEventEmitter, NativeModules, Platform } from 'react-native';
const { ReactNativeFingerprintScanner } = NativeModules;

export default () => {
if (Platform.VERSION < 23) {
if (Platform.Version < 23) {
DeviceEventEmitter.removeAllListeners('FINGERPRINT_SCANNER_AUTHENTICATION');
}

Expand Down

0 comments on commit 879babb

Please sign in to comment.