From cc133d6e1e1e7c08620656b9b9e17e5a3b654eaa Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Thu, 31 Oct 2024 18:18:40 +0400 Subject: [PATCH] onboarding wip --- .../Onboarding/ChooseServerOperators.swift | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/apps/ios/Shared/Views/Onboarding/ChooseServerOperators.swift b/apps/ios/Shared/Views/Onboarding/ChooseServerOperators.swift index 32bacb4669..82c513b707 100644 --- a/apps/ios/Shared/Views/Onboarding/ChooseServerOperators.swift +++ b/apps/ios/Shared/Views/Onboarding/ChooseServerOperators.swift @@ -63,7 +63,7 @@ struct ChooseServerOperators: View { selectedOperators = Set(serverOperators.filter { $0.enabled }.map { $0.operatorId }) } .sheet(isPresented: $showInfoSheet) { - Text("Info") + ChooseServerOperatorsInfoView() } .sheet(item: $sheetItem, onDismiss: onConditionsSheetDismissed) { item in switch item { @@ -203,6 +203,28 @@ struct ChooseServerOperators: View { } } +struct ChooseServerOperatorsInfoView: View { + var body: some View { + VStack(alignment: .leading) { + Text("Why choose multiple operators") + .font(.largeTitle) + .padding(.vertical) + ScrollView { + VStack(alignment: .leading) { + Group { + Text("Selecting multiple operators improves protection of your communication graph.") + Text("TODO Better explanation") + } + .padding(.bottom) + } + } + } + .padding() + .frame(maxHeight: .infinity, alignment: .top) + .modifier(ThemedBackground()) + } +} + #Preview { ChooseServerOperators() }