This commit is contained in:
Trey t
2023-07-05 22:22:10 -05:00
parent 79d42d6f93
commit d1e9428883
2 changed files with 14 additions and 3 deletions

View File

@@ -273,8 +273,13 @@ struct AllWorkoutsListView: View {
.refreshable {
refresh()
}
TextField("Filter", text: $searchString)
.padding(.leading)
.frame(height: 55)
.textFieldStyle(PlainTextFieldStyle())
.padding([.horizontal], 4)
.overlay(RoundedRectangle(cornerRadius: 16).stroke(Color(uiColor: .clear))).background(Color(uiColor: .init(red: 200/255, green: 200/255, blue: 200/255, alpha: 0.2)))
// .cornerRadius(8)
}
}
}

View File

@@ -14,15 +14,21 @@ struct CreateWorkoutMainView: View {
var body: some View {
VStack {
Divider()
TextField("Title", text: $viewModel.title)
.padding()
.frame(height: 55)
.textFieldStyle(PlainTextFieldStyle())
.padding([.horizontal], 4)
.overlay(RoundedRectangle(cornerRadius: 16).stroke(Color(uiColor: .clear))).background(Color(uiColor: .init(red: 200/255, green: 200/255, blue: 200/255, alpha: 0.2)))
// .cornerRadius(8)
TextField("Description", text: $viewModel.description)
.frame(height: 55)
.textFieldStyle(PlainTextFieldStyle())
.padding([.horizontal], 4)
.overlay(RoundedRectangle(cornerRadius: 16).stroke(Color(uiColor: .clear))).background(Color(uiColor: .init(red: 200/255, green: 200/255, blue: 200/255, alpha: 0.2)))
.cornerRadius(8)
// .cornerRadius(8)
List() {
ForEach($viewModel.superSets, id: \.id) { superset in