move Peered to implementation directory
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import SwiftUI
|
||||
|
||||
struct SetUserNameBottomSheetView: View {
|
||||
@State private var proposedUsername: String = ""
|
||||
@Binding var username: String
|
||||
|
||||
var body: some View {
|
||||
Form {
|
||||
Section("Set your username") {
|
||||
TextField("Username", text: $proposedUsername)
|
||||
}
|
||||
|
||||
Button("Save username") {
|
||||
username = proposedUsername
|
||||
}
|
||||
}
|
||||
.interactiveDismissDisabled()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user