1
Fork 0
This repository has been archived on 2025-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
mobilefort/MobileFort/MobileFort (iOS)/MainView.swift

25 lines
589 B
Swift
Raw Normal View History

2020-06-03 22:33:04 -04:00
import SwiftUI
struct MainView: View {
@State private var username: String = ""
var body: some View {
NavigationView {
VStack {
TextField("Username", text: $username)
.disableAutocorrection(true)
2020-11-18 08:32:37 -05:00
.autocapitalization(.none)
2020-06-03 22:33:04 -04:00
NavigationLink(destination: ProfileView(username: username)) {
Text("Show Feed")
}
}
}
}
}
struct MainView_Previews: PreviewProvider {
static var previews: some View {
MainView()
}
}