Skip to content

Commit

Permalink
fix: error message
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Jun 23, 2022
1 parent be2dce0 commit cceec00
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public void reload(final PluginCall call) {
if (this._reload()) {
call.resolve();
} else {
call.reject("reload failed");
call.reject("Reload failed");
}
} catch(final Exception e) {
Log.e(CapacitorUpdater.TAG, "Could not reload", e);
Expand Down Expand Up @@ -484,7 +484,6 @@ private void notifyUpdateAvailable(final String version) {
public void onActivityStopped(@NonNull final Activity activity) {
Log.i(CapacitorUpdater.TAG, "Checking for pending update");
try {

final Boolean delayUpdate = this.prefs.getBoolean(DELAY_UPDATE, false);
this.editor.putBoolean(DELAY_UPDATE, false);
this.editor.commit();
Expand Down

0 comments on commit cceec00

Please sign in to comment.