35 lines
761 B
Swift
35 lines
761 B
Swift
//
|
|
// SettingsView.swift
|
|
// SettingsView
|
|
//
|
|
// Created by Felix Förtsch on 01.08.21.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct SettingsView: View {
|
|
var body: some View {
|
|
NavigationView {
|
|
List {
|
|
Section(header: Text("Selected School")) {
|
|
Text("Uni Leipzig")
|
|
|
|
}
|
|
|
|
Section(header: Text("Contribute")) {
|
|
Text("Request a School")
|
|
Text("Submit a Course")
|
|
}
|
|
|
|
}
|
|
.navigationBarTitle("Settings")
|
|
}
|
|
}
|
|
}
|
|
|
|
struct SettingsView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
SettingsView().preferredColorScheme(.dark)
|
|
}
|
|
}
|