From 3088d76c0293f4c7ed41c1d87b6e32d600d7992a Mon Sep 17 00:00:00 2001 From: Lucian Cerbu Date: Wed, 28 Aug 2024 15:31:27 +0300 Subject: [PATCH] Resolved bugs from testing this ticket. --- .../Screens/ArchiveName/OnboardingArchiveNameView.swift | 4 ++-- .../CreateArchive/OnboardingCreateFirstArchiveView.swift | 2 +- .../WhatsImportant/OnboardingWhatsImportantViewModel.swift | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Permanent/Modules/Onboarding/Screens/ArchiveName/OnboardingArchiveNameView.swift b/Permanent/Modules/Onboarding/Screens/ArchiveName/OnboardingArchiveNameView.swift index 4e733ec4..df937181 100644 --- a/Permanent/Modules/Onboarding/Screens/ArchiveName/OnboardingArchiveNameView.swift +++ b/Permanent/Modules/Onboarding/Screens/ArchiveName/OnboardingArchiveNameView.swift @@ -38,7 +38,7 @@ struct OnboardingArchiveNameView: View { .onTapGesture { dismissKeyboard() } - Text("Name your new archive. This is the legal or official name of the person, family, group, or organization the archive is about. You can edit the name later if needed.") + Text("Name your new archive. This is the formal or official name of the person, family, group, or organization the archive represents. You can edit the name later if needed.") .textStyle(UsualSmallXRegularTextStyle()) .foregroundColor(.blue25) .lineSpacing(8.0) @@ -100,7 +100,7 @@ struct OnboardingArchiveNameView: View { ScrollViewReader { scrollReader in ScrollView(showsIndicators: false) { VStack(alignment: .leading, spacing: 64) { - Text("Name your new archive. This is the legal or official name of the person, family, group, or organization the archive is about. You can edit the name later if needed.") + Text("Name your new archive. This is the formal or official name of the person, family, group, or organization the archive represents. You can edit the name later if needed.") .textStyle(UsualRegularTextStyle()) .foregroundColor(.blue25) .lineSpacing(8.0) diff --git a/Permanent/Modules/Onboarding/Screens/CreateArchive/OnboardingCreateFirstArchiveView.swift b/Permanent/Modules/Onboarding/Screens/CreateArchive/OnboardingCreateFirstArchiveView.swift index d818b93e..b879b572 100644 --- a/Permanent/Modules/Onboarding/Screens/CreateArchive/OnboardingCreateFirstArchiveView.swift +++ b/Permanent/Modules/Onboarding/Screens/CreateArchive/OnboardingCreateFirstArchiveView.swift @@ -68,7 +68,7 @@ struct OnboardingCreateFirstArchiveView: View { ZStack(alignment: .bottom) { VStack(spacing: 32) { HStack() { - Text("With my first archive, I plan to capture and preserve material about…") + Text("What do you plan to capture and preserve with your first archive?") .textStyle(UsualRegularTextStyle()) .foregroundColor(.blue25) .lineSpacing(8.0) diff --git a/Permanent/Modules/Onboarding/Screens/WhatsImportant/OnboardingWhatsImportantViewModel.swift b/Permanent/Modules/Onboarding/Screens/WhatsImportant/OnboardingWhatsImportantViewModel.swift index 066cd76a..5ece3825 100644 --- a/Permanent/Modules/Onboarding/Screens/WhatsImportant/OnboardingWhatsImportantViewModel.swift +++ b/Permanent/Modules/Onboarding/Screens/WhatsImportant/OnboardingWhatsImportantViewModel.swift @@ -221,7 +221,7 @@ class OnboardingWhatsImportantViewModel: ObservableObject { let status = archive.archiveVO?.status, let archiveID = archive.archiveVO?.archiveID, status == ArchiveVOData.Status.ok { - containerViewModel.allArchives.append(OnboardingArchive(fullname: containerViewModel.fullName, accessType: AccessRole.roleForValue(archive.archiveVO?.accessRole).groupName, status: status, archiveID: archiveID, thumbnailURL: archive.archiveVO?.thumbURL200 ?? "", isThumbnailGenerated: archive.archiveVO?.thumbStatus != .genAvatar ? true : false)) + containerViewModel.allArchives.append(OnboardingArchive(fullname: fullName, accessType: AccessRole.roleForValue(archive.archiveVO?.accessRole).groupName, status: status, archiveID: archiveID, thumbnailURL: archive.archiveVO?.thumbURL200 ?? "", isThumbnailGenerated: archive.archiveVO?.thumbStatus != .genAvatar ? true : false)) } } } else {