Skip to content

Commit 3ab2193

Browse files
committed
change Constants getAndroidVersion to be a function instead of a getter
1 parent eb235e2 commit 3ab2193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/Constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const constants = {
6969
orientations,
7070
isAndroid,
7171
isIOS,
72-
get getAndroidVersion() {
72+
getAndroidVersion: () => {
7373
return isAndroid ? parseInt(Platform.Version as string, 10) : undefined;
7474
},
7575
/* Navigation */

0 commit comments

Comments
 (0)