Skip to content

Commit

Permalink
Revert "Fix money request amount input is partially visible after goi…
Browse files Browse the repository at this point in the history
…ng back from currency selection page"
  • Loading branch information
marcochavezf authored Jan 27, 2024
1 parent da2cc57 commit 453827b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/components/TextInput/BaseTextInput/index.native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,6 @@ function BaseTextInput(
styles.visibilityHidden,
]}
onLayout={(e) => {
if (e.nativeEvent.layout.width === 0) {
return;
}
setTextInputWidth(e.nativeEvent.layout.width);
setTextInputHeight(e.nativeEvent.layout.height);
}}
Expand Down
3 changes: 0 additions & 3 deletions src/components/TextInput/BaseTextInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,6 @@ function BaseTextInput(
styles.visibilityHidden,
]}
onLayout={(e) => {
if (e.nativeEvent.layout.width === 0) {
return;
}
let additionalWidth = 0;
if (Browser.isMobileSafari() || Browser.isSafari() || Browser.isMobileChrome()) {
additionalWidth = 2;
Expand Down

0 comments on commit 453827b

Please sign in to comment.