File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Sources/ComponentsKit/Components/TextInput Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -55,16 +55,14 @@ public struct SUTextInput<FocusValue: Hashable>: View {
5555 TextEditor ( text: self . $text)
5656 . contentMargins ( self . model. contentPadding)
5757 . transparentScrollBackground ( )
58- . frame (
59- minHeight: self . model. minTextInputHeight,
60- maxHeight: max (
61- self . model. minTextInputHeight,
62- min (
63- self . model. maxTextInputHeight,
64- self . textEditorPreferredHeight
65- )
58+ . frame ( minHeight: self . model. minTextInputHeight)
59+ . frame ( height: max (
60+ self . model. minTextInputHeight,
61+ min (
62+ self . model. maxTextInputHeight,
63+ self . textEditorPreferredHeight
6664 )
67- )
65+ ) )
6866 . lineSpacing ( 0 )
6967 . font ( self . model. preferredFont. font)
7068 . foregroundStyle ( self . model. foregroundColor. color)
You can’t perform that action at this time.
0 commit comments