mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-21 11:25:28 +00:00
onboarding wip
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user