Add missing titles to text fields
This commit is contained in:
@@ -62,7 +62,7 @@ public struct ContentView: View {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
HStack {
|
HStack {
|
||||||
TextField("", text: $satsViewModel.btcToCurrencyString)
|
TextField("1 BTC to \(satsViewModel.selectedCurrency.identifier)", text: $satsViewModel.btcToCurrencyString)
|
||||||
.disabled(priceSource != .manual)
|
.disabled(priceSource != .manual)
|
||||||
#if os(iOS) || SKIP
|
#if os(iOS) || SKIP
|
||||||
.keyboardType(.decimalPad)
|
.keyboardType(.decimalPad)
|
||||||
@@ -86,7 +86,7 @@ public struct ContentView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Section {
|
Section {
|
||||||
TextField("", text: $satsViewModel.satsString)
|
TextField("Sats", text: $satsViewModel.satsString)
|
||||||
#if os(iOS) || SKIP
|
#if os(iOS) || SKIP
|
||||||
.keyboardType(.numberPad)
|
.keyboardType(.numberPad)
|
||||||
#endif
|
#endif
|
||||||
@@ -99,7 +99,7 @@ public struct ContentView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Section {
|
Section {
|
||||||
TextField("", text: $satsViewModel.btcString)
|
TextField("BTC", text: $satsViewModel.btcString)
|
||||||
#if os(iOS) || SKIP
|
#if os(iOS) || SKIP
|
||||||
.keyboardType(.decimalPad)
|
.keyboardType(.decimalPad)
|
||||||
#endif
|
#endif
|
||||||
@@ -112,7 +112,7 @@ public struct ContentView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Section {
|
Section {
|
||||||
TextField("", text: $satsViewModel.currencyValueString)
|
TextField(satsViewModel.selectedCurrency.identifier, text: $satsViewModel.currencyValueString)
|
||||||
#if os(iOS) || SKIP
|
#if os(iOS) || SKIP
|
||||||
.keyboardType(.decimalPad)
|
.keyboardType(.decimalPad)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user