Better param name.

This commit is contained in:
Max Goedjen
2020-09-18 14:09:18 -07:00
parent 435a22754c
commit c644f5d4a3
3 changed files with 4 additions and 4 deletions

View File

@@ -11,8 +11,8 @@ public class Updater: ObservableObject, UpdaterProtocol {
@Published public var update: Release?
public init(hasRunSetup: Bool) {
if hasRunSetup {
public init(checkOnLaunch: Bool) {
if checkOnLaunch {
// Don't do a launch check if the user hasn't seen the setup prompt explaining updater yet.
checkForUpdates()
}