mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-07 02:37:10 +00:00
ea6a09b66e
* ui: open external link alerts * update * update * update * update * update * change link, add link to alert, close modals when opening chat * refactor * add string * fix link in terms * open simplex chat links from privacy policy in app --------- Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com> Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
40 lines
1.5 KiB
Swift
40 lines
1.5 KiB
Swift
//
|
|
// IncognitoHelp.swift
|
|
// SimpleX (iOS)
|
|
//
|
|
// Created by JRoberts on 22.08.2022.
|
|
// Copyright © 2022 SimpleX Chat. All rights reserved.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct IncognitoHelp: View {
|
|
var body: some View {
|
|
List {
|
|
Text("Incognito mode")
|
|
.font(.largeTitle)
|
|
.bold()
|
|
.fixedSize(horizontal: false, vertical: true)
|
|
.padding(.vertical)
|
|
.listRowBackground(Color.clear)
|
|
.listRowSeparator(.hidden)
|
|
.listRowInsets(EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0))
|
|
VStack(alignment: .leading, spacing: 18) {
|
|
Text("Incognito mode protects your privacy by using a new random profile for each contact.")
|
|
Text("It allows having many anonymous connections without any shared data between them in a single chat profile.")
|
|
Text("When you share an incognito profile with somebody, this profile will be used for the groups they invite you to.")
|
|
ExternalLink("Read more in User Guide.", destination: URL(string: "https://simplex.chat/docs/guide/chat-profiles.html#incognito-mode")!)
|
|
}
|
|
.listRowBackground(Color.clear)
|
|
.listRowInsets(EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0))
|
|
}
|
|
.modifier(ThemedBackground())
|
|
}
|
|
}
|
|
|
|
struct IncognitoHelp_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
IncognitoHelp()
|
|
}
|
|
}
|