Change currency picker style to navigation link
This commit is contained in:
@@ -39,6 +39,7 @@ public struct ContentView: View {
|
||||
}
|
||||
|
||||
public var body: some View {
|
||||
NavigationStack {
|
||||
Form {
|
||||
Section {
|
||||
Picker("Price Source", selection: $priceSource) {
|
||||
@@ -56,6 +57,7 @@ public struct ContentView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.pickerStyle(.navigationLink)
|
||||
|
||||
HStack {
|
||||
TextField("", text: $satsViewModel.btcToCurrencyString)
|
||||
@@ -137,6 +139,7 @@ public struct ContentView: View {
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
#if DEBUG
|
||||
|
||||
Reference in New Issue
Block a user