Skip to content

Commit 9adfad5

Browse files
committed
Merge remote-tracking branch 'upstream/dev' into aibarcode
2 parents a750371 + 07dc8a1 commit 9adfad5

File tree

18 files changed

+602
-77
lines changed

18 files changed

+602
-77
lines changed

Config.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ TRIO_APP_GROUP_ID = group.org.nightscout.$(DEVELOPMENT_TEAM).trio.trio-app-group
1919

2020
// The developers set the version numbers, please leave them alone
2121
APP_VERSION = 0.6.0
22-
APP_DEV_VERSION = 0.6.0.48
22+
APP_DEV_VERSION = 0.6.0.51
2323
APP_BUILD_NUMBER = 1
2424
COPYRIGHT_NOTICE =
2525

Trio/Resources/InfoPlist.xcstrings

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,18 @@
457457
}
458458
}
459459
},
460+
"NSCalendarsFullAccessUsageDescription" : {
461+
"comment" : "Privacy - Calendars Full Access Usage Description",
462+
"extractionState" : "extracted_with_value",
463+
"localizations" : {
464+
"en" : {
465+
"stringUnit" : {
466+
"state" : "new",
467+
"value" : "To create events with BG reading values, so that they can be viewed on Apple Watch and CarPlay"
468+
}
469+
}
470+
}
471+
},
460472
"NSCalendarsUsageDescription" : {
461473
"comment" : "Privacy - Calendars Usage Description",
462474
"extractionState" : "extracted_with_value",

Trio/Sources/Helpers/PropertyPersistentFlags.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ final class PropertyPersistentFlags {
2323
@PersistedProperty(key: "diagnosticsSharing") var diagnosticsSharingEnabled: Bool?
2424

2525
@PersistedProperty(key: "lastCleanupDate") var lastCleanupDate: Date?
26+
27+
// TODO: This flag can be deleted in March 2027. Check the commit for other places to cleanup.
28+
@PersistedProperty(key: "hasSeenFatProteinOrderChange") var hasSeenFatProteinOrderChange: Bool?
2629
}

Trio/Sources/Helpers/PropertyWrappers/PersistedProperty.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ enum FileProtectionFixer {
122122
let flagFiles = [
123123
"onboardingCompleted.plist",
124124
"diagnosticsSharing.plist",
125-
"lastCleanupDate.plist"
125+
"lastCleanupDate.plist",
126+
"hasSeenFatProteinOrderChange.plist"
126127
]
127128

128129
let fileManager = FileManager.default

0 commit comments

Comments
 (0)