From a89556f7db25060516ea485faad0e432151aef5c Mon Sep 17 00:00:00 2001 From: alexaaalami Date: Thu, 20 Jun 2024 21:05:24 -0700 Subject: [PATCH] Text edots Minor text edits made to the "Welcome" page, as well as removal of the "Learn more..." link. --- OwnYourData/Home.swift | 4 ++-- .../Instructions/InstructionsView.swift | 18 +++++++++--------- OwnYourData/Resources/Localizable.xcstrings | 7 ++----- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/OwnYourData/Home.swift b/OwnYourData/Home.swift index b435dc0..6d302ff 100644 --- a/OwnYourData/Home.swift +++ b/OwnYourData/Home.swift @@ -77,9 +77,9 @@ struct HomeView: View { @MainActor @ViewBuilder private var welcome: some View { if let givenName = account?.details?.name?.givenName { - Text("Welcome,\n\(givenName)") + Text("Welcome,\n\(givenName).") } else { - Text("Welcome!") + Text("Welcome.") } } } diff --git a/OwnYourData/Instructions/InstructionsView.swift b/OwnYourData/Instructions/InstructionsView.swift index 88ce91a..2847e8f 100644 --- a/OwnYourData/Instructions/InstructionsView.swift +++ b/OwnYourData/Instructions/InstructionsView.swift @@ -23,8 +23,8 @@ struct InstructionsView: View { Text("FHIR_RESOURCES_VIEW_NO_RESOURCES") .frame(maxWidth: .infinity) .multilineTextAlignment(.leading) - Text("Learn More ...") - .foregroundColor(.accentColor) + //Text("Learn More ...") + // .foregroundColor(.accentColor) } .padding() .background( @@ -33,12 +33,12 @@ struct InstructionsView: View { .shadow(radius: 5) ) .padding() - .contentShape(Rectangle()) - .onTapGesture { - displayInstructions.toggle() - } - .sheet(isPresented: $displayInstructions) { - AddRecordInstructView() - } + //.contentShape(Rectangle()) + //.onTapGesture { + // displayInstructions.toggle() + //} + //.sheet(isPresented: $displayInstructions) { + // AddRecordInstructView() + //} } } diff --git a/OwnYourData/Resources/Localizable.xcstrings b/OwnYourData/Resources/Localizable.xcstrings index 83f95d3..1ec6bb6 100644 --- a/OwnYourData/Resources/Localizable.xcstrings +++ b/OwnYourData/Resources/Localizable.xcstrings @@ -70,7 +70,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Find National Cancer Institute supported trials.\n\nWe noticed that you haven't saved any health records on your phone yet.\n\nPlease follow the instructions to retrieve your health records: [Apple Support - View health records on your iPhone or iPod touch](https://support.apple.com/en-us/HT208680).\n\nYou can find a list of supported institutions at [Apple Support - Institutions that support health records on iPhone and iPod touch](https://platform.openai.com/account/api-keys).\n\nPlease ensure that OwnYourData has access to your health records in the Apple Health App. You can find these settings in the privacy section of your profile in Apple Health." + "value" : "We noticed that you haven't saved any health records on your phone yet.\n\nPlease follow these [instructions](https://support.apple.com/en-us/HT208680).\n to retrieve your health records.\n\nYou can find a list of supported institutions at [Apple Support - Institutions that support health records on iPhone and iPod touch](https://platform.openai.com/account/api-keys).\n\nPlease ensure that OwnYourData has access to your health records in the Apple Health App. You can find these settings in the privacy section of your profile in Apple Health." } } } @@ -114,9 +114,6 @@ }, "Learn More" : { - }, - "Learn More ..." : { - }, "License Information" : { @@ -295,7 +292,7 @@ "Use the OwnYourData algorithm to match you to possible NCI trials." : { }, - "Welcome,\n%@" : { + "Welcome,\n%@!" : { }, "Welcome!" : {