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
2020-11-18 08:18:26 -05:00

24 lines
591 B
Swift

import SwiftUI
struct MainView: View {
@State private var username: String = ""
var body: some View {
NavigationView {
VStack {
TextField("Username", text: $username)
.disableAutocorrection(true)
//.autocapitalization(.none)
NavigationLink(destination: ProfileView(username: username)) {
Text("Show Feed")
}
}
}
}
}
struct MainView_Previews: PreviewProvider {
static var previews: some View {
MainView()
}
}