mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
0b57cc08a7
* core: include contact links in profiles * add connection request link to contact and group profiles * set group link on update, view, api * core: include contact addresses in profiles * remove id from UserContactLink * schema, fix test * remove address from profile when deleting link, tests * remove diff * remove diff * fix * ios wip * learn more, confirm save, reset on delete * re-use in create link view * remove obsolete files * color * revert scheme * learn more with create * layout * layout * progress indicator * delete text * save on change, layout --------- Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
30 lines
1.0 KiB
Swift
30 lines
1.0 KiB
Swift
//
|
|
// UserAddressLearnMore.swift
|
|
// SimpleX (iOS)
|
|
//
|
|
// Created by spaced4ndy on 27.04.2023.
|
|
// Copyright © 2023 SimpleX Chat. All rights reserved.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct UserAddressLearnMore: View {
|
|
var body: some View {
|
|
List {
|
|
VStack(alignment: .leading, spacing: 18) {
|
|
Text("You can create a long term address that can be used by other people to connect with you.")
|
|
Text("Unlike 1-time invitation links, these addresses can be used many times, that makes them good to share online.")
|
|
Text("When people connect to you via this address, you will receive a connection request that you can accept or reject.")
|
|
Text("Read more in [User Guide](https://github.com/simplex-chat/simplex-chat/blob/stable/docs/guide/app-settings.md#your-simplex-contact-address).")
|
|
}
|
|
.listRowBackground(Color.clear)
|
|
}
|
|
}
|
|
}
|
|
|
|
struct UserAddressLearnMore_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
UserAddressLearnMore()
|
|
}
|
|
}
|