|
|
@ -34,9 +34,11 @@ struct PickerComponent<EnumType: RawRepresentable & Identifiable & Hashable>: Vi
|
|
|
|
HStack {
|
|
|
|
HStack {
|
|
|
|
Text(title)
|
|
|
|
Text(title)
|
|
|
|
.padding()
|
|
|
|
.padding()
|
|
|
|
|
|
|
|
.foregroundColor(.primary)
|
|
|
|
Spacer()
|
|
|
|
Spacer()
|
|
|
|
Text(selectedOption.rawValue.description)
|
|
|
|
Text(selectedOption.rawValue.description)
|
|
|
|
.padding()
|
|
|
|
.padding()
|
|
|
|
|
|
|
|
.foregroundColor(.primary)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.frame(maxWidth: .infinity)
|
|
|
|
.frame(maxWidth: .infinity)
|
|
|
|
.padding(EdgeInsets(top: 0, leading: 32, bottom: 0, trailing: 32))
|
|
|
|
.padding(EdgeInsets(top: 0, leading: 32, bottom: 0, trailing: 32))
|
|
|
|