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

Commit 8624904

Browse files
committed
fix bug from merge conflict resolution
1 parent c7fa9ac commit 8624904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ public void recordStatusReported(ReadableMap statusReport) {
452452
public void restartApp(boolean onlyIfUpdateIsPending, Promise promise) {
453453
// If this is an unconditional restart request, or there
454454
// is current pending update, then reload the app.
455-
if (!onlyIfUpdateIsPending || CodePush.this.isPendingUpdate(null)) {
455+
if (!onlyIfUpdateIsPending || mSettingsManager.isPendingUpdate(null)) {
456456
loadBundle();
457457
promise.resolve(true);
458458
return;

0 commit comments

Comments
 (0)