WIP
This commit is contained in:
@@ -273,8 +273,13 @@ struct AllWorkoutsListView: View {
|
|||||||
.refreshable {
|
.refreshable {
|
||||||
refresh()
|
refresh()
|
||||||
}
|
}
|
||||||
|
|
||||||
TextField("Filter", text: $searchString)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,15 +14,21 @@ struct CreateWorkoutMainView: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack {
|
VStack {
|
||||||
|
Divider()
|
||||||
|
|
||||||
TextField("Title", text: $viewModel.title)
|
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)
|
TextField("Description", text: $viewModel.description)
|
||||||
.frame(height: 55)
|
.frame(height: 55)
|
||||||
.textFieldStyle(PlainTextFieldStyle())
|
.textFieldStyle(PlainTextFieldStyle())
|
||||||
.padding([.horizontal], 4)
|
.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)))
|
.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() {
|
List() {
|
||||||
ForEach($viewModel.superSets, id: \.id) { superset in
|
ForEach($viewModel.superSets, id: \.id) { superset in
|
||||||
|
|||||||
Reference in New Issue
Block a user