Skip to content

Commit 3ad6902

Browse files
committed
Defer appName changes
1 parent 29ec310 commit 3ad6902

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

G7SensorKitUI/Views/G7StartupView.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ struct G7StartupView: View {
1313
var didContinue: (() -> Void)?
1414
var didCancel: (() -> Void)?
1515

16-
@Environment(\.appName) private var appName
17-
1816
var body: some View {
1917
VStack(alignment: .center, spacing: 20) {
2018
Spacer()
@@ -28,7 +26,7 @@ struct G7StartupView: View {
2826
.frame(height: 120)
2927
.padding(.horizontal)
3028
}.frame(maxWidth: .infinity)
31-
Text(String(format: LocalizedString("%1$@ can read G7 CGM data, but you must still use the Dexcom G7 App for pairing, calibration, and other sensor management.", comment: "Descriptive text on G7StartupView (1: appName)"), self.appName))
29+
Text(LocalizedString("Loop can read G7 CGM data, but you must still use the Dexcom G7 App for pairing, calibration, and other sensor management.", comment: "Descriptive text on G7StartupView"))
3230
.fixedSize(horizontal: false, vertical: true)
3331
.foregroundColor(.secondary)
3432
Spacer()

0 commit comments

Comments
 (0)