simple selection
This commit is contained in:
@@ -338,6 +338,9 @@ struct CalculatorView: View {
|
|||||||
Text(calculator.loadName.uppercased())
|
Text(calculator.loadName.uppercased())
|
||||||
.font(.caption2)
|
.font(.caption2)
|
||||||
.foregroundColor(.secondary)
|
.foregroundColor(.secondary)
|
||||||
|
.lineLimit(1)
|
||||||
|
.truncationMode(.tail)
|
||||||
|
.frame(maxWidth: .infinity)
|
||||||
|
|
||||||
Button(action: {
|
Button(action: {
|
||||||
editingValue = isWattMode ? .power : .current
|
editingValue = isWattMode ? .power : .current
|
||||||
|
|||||||
Reference in New Issue
Block a user