Skip to content

Commit 82209a0

Browse files
committed
Attempt to resolve issue zmxv#7
1 parent 123bf18 commit 82209a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-sound",
3-
"version": "0.7.1",
3+
"version": "0.7.2",
44
"description": "React Native module for playing sound clips on iOS and Android",
55
"main": "sound.js",
66
"repository": {

sound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
var RNSound = require('react-native').NativeModules.RNSound;
4-
var IsAndroid = !!RNSound.setLooping;
4+
var IsAndroid = (typeof RNSound.setLooping) !== 'undefined';
55

66
var nextKey = 0;
77

0 commit comments

Comments
 (0)