Skip to content
This repository was archived by the owner on May 26, 2019. It is now read-only.

Commit e9ef84a

Browse files
committed
minor fix
1 parent db1e47b commit e9ef84a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,11 @@ export default class RNCallKit {
9191
_RNCallKit.endAllCalls();
9292
}
9393

94-
static checkIfBusy = _RNCallKit.checkIfBusy;
95-
94+
static checkIfBusy() {
95+
if (Platform.OS !== 'ios') return;
96+
_RNCallKit.checkIfBusy
97+
};
98+
9699
/*
97100
static setHeldCall(uuid, onHold) {
98101
if (Platform.OS !== 'ios') return;

react-native-callkit-1.3.5.tgz

10.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)