Skip to content

Commit 879babb

Browse files
committed
typo version
1 parent 45b98e7 commit 879babb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/authenticate.android.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default ({ description, onAttempt }) => {
4747
onAttempt = nullOnAttempt;
4848
}
4949

50-
if (Platform.VERSION < 23) {
50+
if (Platform.Version < 23) {
5151
return authLegacy(onAttempt);
5252
}
5353

src/release.android.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { DeviceEventEmitter, NativeModules, Platform } from 'react-native';
33
const { ReactNativeFingerprintScanner } = NativeModules;
44

55
export default () => {
6-
if (Platform.VERSION < 23) {
6+
if (Platform.Version < 23) {
77
DeviceEventEmitter.removeAllListeners('FINGERPRINT_SCANNER_AUTHENTICATION');
88
}
99

0 commit comments

Comments
 (0)