Skip to content

Commit

Permalink
5.2.1 (#887)
Browse files Browse the repository at this point in the history
* Update syncUpstreamRepo.yml (#883)

Reduce frequency of sync to daily instead of hourly

* Hypo treatment default and none option fix.

* bump version nr

Co-authored-by: Marc G. Fournier <[email protected]>
  • Loading branch information
Jon-b-m and scrappy authored Sep 27, 2024
1 parent aca9462 commit bd25efe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/syncUpstreamRepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
on:

schedule:
- cron: '0 * * * *' # scheduled to run hourly
- cron: '0 3 * * *' # scheduled to run hourly

workflow_dispatch: # trigger manually

Expand Down
2 changes: 1 addition & 1 deletion Config.xcconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
APP_DISPLAY_NAME = iAPS
APP_VERSION = 5.2.0
APP_VERSION = 5.2.1
APP_BUILD_NUMBER = 1
COPYRIGHT_NOTICE =
DEVELOPER_TEAM = ##TEAM_ID##
Expand Down
2 changes: 1 addition & 1 deletion FreeAPS/Sources/Models/FreeAPSSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct FreeAPSSettings: JSON, Equatable {
// var sex: Sex = .secret
var sexSetting: Int = 3
var displayDelta: Bool = false
var profileID: OverridePresets.ID = "Hypo Treatment"
var profileID: String = "Hypo Treatment"
}

extension FreeAPSSettings: Decodable {
Expand Down
2 changes: 1 addition & 1 deletion FreeAPS/Sources/Modules/Settings/SettingsStateModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ extension Settings {
@Published var debugOptions = false
@Published var animatedBackground = false
@Published var disableCGMError = true
@Published var profileID: OverridePresets.ID = "Hypo Treatment"
@Published var profileID: String = "Hypo Treatment"

private(set) var buildNumber = ""
private(set) var versionNumber = ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ extension Settings {
Picker("Treatment", selection: $state.profileID) {
Text("Default 📉").tag("Hypo Treatment")
ForEach(fetchedProfiles) { item in
Text(item.name ?? "").tag(item.id)
Text(item.name ?? "").tag(item.id?.string ?? "")
}
Text("None").tag("None")
}
Expand Down

0 comments on commit bd25efe

Please sign in to comment.