Feat: Working on pressure estimations feature

This commit is contained in:
2024-06-04 13:06:49 -04:00
parent 04c899da8e
commit 076488beb4
19 changed files with 1206 additions and 128 deletions

View File

@@ -0,0 +1,19 @@
import SwiftUI
extension TextField where Label == Text {
public init(
_ titleKey: LocalizedStringKey,
value: Binding<Double?>,
fractionLength: Int,
prompt: Text? = nil
) {
self.init(
titleKey,
value: value,
format: .number.precision(.fractionLength(fractionLength)),
prompt: prompt
)
}
}