Skip to content

Commit

Permalink
🌐 Remove unused localisation key
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKai77 committed Jan 22, 2025
1 parent ec20bec commit d3fd50b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Loop/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -21264,9 +21264,6 @@
}
}
}
},
"Updates are currently disabled via defaults" : {

},
"Updates are disabled" : {

Expand Down
3 changes: 0 additions & 3 deletions Loop/Updater/Updater.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ final class Updater: ObservableObject {
@Published var targetRelease: Release?
@Published var progressBar: Double = 0
@Published var updateState: UpdateAvailability = .notChecked
@Published var updateCheckDisabledMessage: String?

@Published var changelog: [(title: String, body: [ChangelogNote])] = .init()

Expand Down Expand Up @@ -107,7 +106,6 @@ final class Updater: ObservableObject {
await MainActor.run {
targetRelease = nil
updateState = .disabled
updateCheckDisabledMessage = String(localized: "Updates are currently disabled via defaults")
}
return
}
Expand All @@ -116,7 +114,6 @@ final class Updater: ObservableObject {
targetRelease = nil
updateState = .notChecked
progressBar = 0
updateCheckDisabledMessage = nil
}

let urlString = includeDevelopmentVersions ?
Expand Down

0 comments on commit d3fd50b

Please sign in to comment.