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

Commit 1a7fbf6

Browse files
committed
Fixing enum name
1 parent c56a6f2 commit 1a7fbf6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package-mixins.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
var extend = require("extend");
22
var { NativeAppEventEmitter } = require("react-native");
3-
var { RestartMode } = require("react-native-code-push");
43

54
module.exports = (NativeCodePush) => {
65
var remote = {
@@ -37,7 +36,7 @@ module.exports = (NativeCodePush) => {
3736
};
3837

3938
var local = {
40-
apply: function apply(rollbackTimeout = 0, restartMode = RestartMode.IMMEDIATE) {
39+
apply: function apply(rollbackTimeout = 0, restartMode = NativeCodePush.codePushRestartModeImmediate) {
4140
return NativeCodePush.applyUpdate(this, rollbackTimeout, restartMode);
4241
}
4342
};

0 commit comments

Comments
 (0)