Skip to content

Commit

Permalink
fix: wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-peruzzo committed Sep 12, 2023
1 parent c63492b commit 2f3938b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -875,8 +875,7 @@ private Boolean _isAutoUpdateEnabled() {
return (
CapacitorUpdaterPlugin.this.autoUpdate &&
!"".equals(CapacitorUpdaterPlugin.this.updateUrl) &&
serverUrl == null &&
!"".equals(serverUrl)
(serverUrl == null || "".equals(serverUrl))
);
}

Expand Down

0 comments on commit 2f3938b

Please sign in to comment.