diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-02-16 00:22:05 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-02-16 00:22:05 -0600 |
commit | de9eb9dc2b932066e8ef1668d71170230edd1d38 (patch) | |
tree | 050066a09cd85d598655309ea6b2d61059c26da8 /iosApp/iosApp/Session/AboutView.swift | |
parent | fe30451d02b541a51f35e8ea68100c9b04f046ba (diff) | |
download | etbsa-trackermap-mobile-de9eb9dc2b932066e8ef1668d71170230edd1d38.tar.gz etbsa-trackermap-mobile-de9eb9dc2b932066e8ef1668d71170230edd1d38.tar.bz2 etbsa-trackermap-mobile-de9eb9dc2b932066e8ef1668d71170230edd1d38.zip |
- Localized strings.
- Implemented account details, about and sign out.
- Map shows first on startup now.
- Save server URL on preferences.
- More improvements and fixes!
Diffstat (limited to 'iosApp/iosApp/Session/AboutView.swift')
-rw-r--r-- | iosApp/iosApp/Session/AboutView.swift | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/iosApp/iosApp/Session/AboutView.swift b/iosApp/iosApp/Session/AboutView.swift new file mode 100644 index 0000000..c0f9099 --- /dev/null +++ b/iosApp/iosApp/Session/AboutView.swift @@ -0,0 +1,34 @@ +// +// AboutView.swift +// iosApp +// +// Created by Iván on 15/02/22. +// Copyright © 2022 orgName. All rights reserved. +// + +import SwiftUI + +struct AboutView: View { + var body: some View { + List { + Text("about-text").padding() + HStack { + Text("version") + Spacer() + Text("1.0").foregroundColor(.secondary) + } + + Button { + // TODO + } label: { + Label("source-code", systemImage: "chevron.left.forwardslash.chevron.right") + } + + Button { + // TODO + } label: { + Label("website", systemImage: "globe") + } + } + } +} |