mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2024-12-13 01:47:27 +01:00
44 lines
1.1 KiB
Swift
44 lines
1.1 KiB
Swift
//Made by Lumaa
|
|
|
|
import SwiftUI
|
|
|
|
struct AboutView: View {
|
|
var body: some View {
|
|
List {
|
|
NavigationLink {
|
|
aboutApp
|
|
} label: {
|
|
Text("about.app")
|
|
.tint(Color.blue)
|
|
}
|
|
.listRowSeparator(.hidden)
|
|
.listRowBackground(Color.appBackground)
|
|
}
|
|
.listStyle(.plain)
|
|
.scrollContentBackground(.hidden)
|
|
.background(Color.appBackground)
|
|
.navigationTitle("about")
|
|
.navigationBarTitleDisplayMode(.inline)
|
|
}
|
|
|
|
var aboutApp: some View {
|
|
ScrollView {
|
|
VStack (spacing: 15) {
|
|
Text("about.app.details")
|
|
.multilineTextAlignment(.leading)
|
|
Text("about.app.third-party")
|
|
.multilineTextAlignment(.leading)
|
|
}
|
|
.padding(.horizontal)
|
|
}
|
|
.scrollContentBackground(.hidden)
|
|
.background(Color.appBackground)
|
|
.navigationTitle("about.app")
|
|
.navigationBarTitleDisplayMode(.large)
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
AboutView()
|
|
}
|