diff --git a/Flipcash/Core/Controllers/Deep Links/DeepLinkController.swift b/Flipcash/Core/Controllers/Deep Links/DeepLinkController.swift index 9d58e58f5..089cee138 100644 --- a/Flipcash/Core/Controllers/Deep Links/DeepLinkController.swift +++ b/Flipcash/Core/Controllers/Deep Links/DeepLinkController.swift @@ -326,7 +326,7 @@ struct DeepLinkAction { private static func showLookupFailed(isScan: Bool, on session: Session) { session.dialogItem = .error( - title: isScan ? "Couldn't Open Tip Card" : "Couldn't Open Profile", + title: isScan ? "Couldn't Open Profile Card" : "Couldn't Open Profile", subtitle: "Please check your connection and try again" ) } diff --git a/Flipcash/Core/Screens/Main/CameraPromptView.swift b/Flipcash/Core/Screens/Main/CameraPromptView.swift index 0a013823a..01f951b58 100644 --- a/Flipcash/Core/Screens/Main/CameraPromptView.swift +++ b/Flipcash/Core/Screens/Main/CameraPromptView.swift @@ -49,13 +49,13 @@ nonisolated enum CameraPrompt: Equatable { func message(embedded: Bool) -> String { switch self { case .requestPermission: - embedded ? "Start your camera to scan a Tip Card" + embedded ? "Start your camera to scan a Profile Card" : "Flipcash uses your camera to scan and grab cash" case .openSettings: - embedded ? "Turn on Camera in Settings to scan a Tip Card" + embedded ? "Turn on Camera in Settings to scan a Profile Card" : "You need to turn on Camera in Settings to scan Codes" case .startCamera: - embedded ? "Start your camera to scan a Tip Card" + embedded ? "Start your camera to scan a Profile Card" : "You need to start your camera to grab cash" } } diff --git a/Flipcash/Core/Screens/Main/Home/NewUserTutorial.swift b/Flipcash/Core/Screens/Main/Home/NewUserTutorial.swift index 7f216b0a2..b867fae2d 100644 --- a/Flipcash/Core/Screens/Main/Home/NewUserTutorial.swift +++ b/Flipcash/Core/Screens/Main/Home/NewUserTutorial.swift @@ -23,14 +23,14 @@ nonisolated enum TutorialItem: TutorialItemPresentable { var title: String { switch self { case .addMoney: return "Add Money" - case .scanTipCard: return "Scan a Tip Card" + case .scanTipCard: return "Scan a Profile Card" } } var subtitle: String { switch self { case .addMoney: return "Add money to your account" - case .scanTipCard: return "Give your first tip" + case .scanTipCard: return "Send your first message" } } diff --git a/Flipcash/Core/Screens/Main/Home/WalletScreen.swift b/Flipcash/Core/Screens/Main/Home/WalletScreen.swift index 773d11c02..412f070da 100644 --- a/Flipcash/Core/Screens/Main/Home/WalletScreen.swift +++ b/Flipcash/Core/Screens/Main/Home/WalletScreen.swift @@ -15,7 +15,7 @@ struct WalletScreen: View { @Environment(SessionContainer.self) private var sessionContainer - /// Invoked by the tutorial's "Scan a Tip Card" step to switch to the Scan tab. + /// Invoked by the tutorial's "Scan a Profile Card" step to switch to the Scan tab. let onScanTipCard: () -> Void var body: some View { diff --git a/Flipcash/Core/Screens/Main/Tips/TipFlow.swift b/Flipcash/Core/Screens/Main/Tips/TipFlow.swift index 9c0f01e48..be912356b 100644 --- a/Flipcash/Core/Screens/Main/Tips/TipFlow.swift +++ b/Flipcash/Core/Screens/Main/Tips/TipFlow.swift @@ -172,7 +172,7 @@ final class TipFlow { /// read, so a miss is a fetch that didn't land rather than a wrong address. static var failureDialog: DialogItem { .error( - title: "Couldn't Open Tip Card", + title: "Couldn't Open Profile Card", subtitle: "Please check your connection and try again" ) } diff --git a/Flipcash/Core/Screens/Main/Tips/TipcardScreen.swift b/Flipcash/Core/Screens/Main/Tips/TipcardScreen.swift index 86583f51c..50dee51ff 100644 --- a/Flipcash/Core/Screens/Main/Tips/TipcardScreen.swift +++ b/Flipcash/Core/Screens/Main/Tips/TipcardScreen.swift @@ -28,7 +28,7 @@ struct TipcardScreen: View { Background(color: .backgroundMain) { legacyContent } - .navigationTitle("My Tip Card") + .navigationTitle("My Profile Card") .toolbarTitleDisplayMode(.inline) .task(id: profilePicture?.thumbnailBlobID) { previewCache.warm(TipCode.Payload(userID: sessionContainer.session.userID)) @@ -39,7 +39,7 @@ struct TipcardScreen: View { private var legacyContent: some View { VStack(spacing: 0) { - Text("Share Your Tip Card to Get Tipped") + Text("Share Your Profile Card to Get Tipped") .font(.appTextLarge) .foregroundStyle(Color.textMain) .multilineTextAlignment(.center) diff --git a/Flipcash/Core/Screens/Main/You/TipCardExport.swift b/Flipcash/Core/Screens/Main/You/TipCardExport.swift index 6d74d8db0..63ea018c2 100644 --- a/Flipcash/Core/Screens/Main/You/TipCardExport.swift +++ b/Flipcash/Core/Screens/Main/You/TipCardExport.swift @@ -101,7 +101,7 @@ enum TipCardExport { .replacingOccurrences(of: ":", with: " ") .trimmingCharacters(in: .whitespacesAndNewlines) - let stem = if let subject, !subject.isEmpty { "Chat with \(subject)" } else { "Tip Card" } + let stem = if let subject, !subject.isEmpty { "Chat with \(subject)" } else { "Profile Card" } return "\(stem).\(format.rawValue)" } diff --git a/FlipcashTests/TipCardExportTests.swift b/FlipcashTests/TipCardExportTests.swift index fa419c618..448a6d735 100644 --- a/FlipcashTests/TipCardExportTests.swift +++ b/FlipcashTests/TipCardExportTests.swift @@ -45,7 +45,7 @@ struct TipCardExportTests { let url = try #require(TipCardExport.file(for: .svg, codeData: .placeholder35, name: nil)) defer { TipCardExport.discard(url) } - #expect(url.lastPathComponent == "Tip Card.svg") + #expect(url.lastPathComponent == "Profile Card.svg") } /// A display name is server-supplied text landing in a path component. diff --git a/FlipcashTests/TipFlowFailureDialogTests.swift b/FlipcashTests/TipFlowFailureDialogTests.swift index df3db0651..5a7fc05a2 100644 --- a/FlipcashTests/TipFlowFailureDialogTests.swift +++ b/FlipcashTests/TipFlowFailureDialogTests.swift @@ -17,7 +17,7 @@ struct TipFlowFailureDialogTests { func failedResolve_genericError() { let item = TipFlow.failureDialog #expect(item.style == .destructive) - #expect(item.title == "Couldn't Open Tip Card") + #expect(item.title == "Couldn't Open Profile Card") #expect(item.subtitle == "Please check your connection and try again") } }