File tree Expand file tree Collapse file tree
components/TextInput/BaseTextInput/implementation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ function BaseTextInput(
276276 shouldAddPaddingBottom && styles . pb1 ,
277277 ] ) ;
278278
279- const verticalPaddingDiff = StyleUtils . getVeritcalPaddingDiffFromStyle ( newTextInputContainerStyles ) ;
279+ const verticalPaddingDiff = StyleUtils . getVerticalPaddingDiffFromStyle ( newTextInputContainerStyles ) ;
280280 const inputPaddingLeft = ! ! prefixCharacter && StyleUtils . getPaddingLeft ( prefixCharacterPadding + styles . pl1 . paddingLeft ) ;
281281 const inputPaddingRight = ! ! suffixCharacter && StyleUtils . getPaddingRight ( StyleUtils . getCharacterPadding ( suffixCharacter ) + styles . pr1 . paddingRight ) ;
282282
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ function BaseTextInput(
281281 shouldAddPaddingBottom && styles . pb1 ,
282282 ] ) ;
283283
284- const verticalPaddingDiff = StyleUtils . getVeritcalPaddingDiffFromStyle ( newTextInputContainerStyles ) ;
284+ const verticalPaddingDiff = StyleUtils . getVerticalPaddingDiffFromStyle ( newTextInputContainerStyles ) ;
285285 const inputPaddingLeft = ! ! prefixCharacter && StyleUtils . getPaddingLeft ( prefixCharacterPadding + styles . pl1 . paddingLeft ) ;
286286 const inputPaddingRight = ! ! suffixCharacter && StyleUtils . getPaddingRight ( StyleUtils . getCharacterPadding ( suffixCharacter ) + styles . pr1 . paddingRight ) ;
287287 // This is workaround for https://github.com/Expensify/App/issues/47939: in case when user is using Chrome on Android we set inputMode to 'search' to disable autocomplete bar above the keyboard.
Original file line number Diff line number Diff line change @@ -731,7 +731,7 @@ function getPaddingBottom(paddingBottom: number): ViewStyle {
731731/**
732732 * Get vertical padding diff from provided styles (paddingTop - paddingBottom)
733733 */
734- function getVeritcalPaddingDiffFromStyle ( textInputContainerStyles : ViewStyle ) : number {
734+ function getVerticalPaddingDiffFromStyle ( textInputContainerStyles : ViewStyle ) : number {
735735 const flatStyle = StyleSheet . flatten ( textInputContainerStyles ) ;
736736
737737 // Safely extract padding values only if they are numbers
@@ -1254,7 +1254,7 @@ const staticStyleUtils = {
12541254 getPaddingLeft,
12551255 getPaddingRight,
12561256 getPaddingBottom,
1257- getVeritcalPaddingDiffFromStyle ,
1257+ getVerticalPaddingDiffFromStyle ,
12581258 hasSafeAreas,
12591259 getHeight,
12601260 getMinimumHeight,
You can’t perform that action at this time.
0 commit comments