From 5104ffca09660ac814bc50fd1f3d9d91ba26916c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20J=2E=20G=C3=B6decke?= Date: Fri, 4 Oct 2024 14:08:40 +0200 Subject: [PATCH] hm - broken --- src/Expensify.tsx | 33 ++++++++++++++++--- .../TextInput/BaseTextInput/index.native.tsx | 8 ++--- src/pages/iou/MoneyRequestAmountForm.tsx | 2 +- 3 files changed, 33 insertions(+), 10 deletions(-) diff --git a/src/Expensify.tsx b/src/Expensify.tsx index 1502ae91841d..fb1f683997b0 100644 --- a/src/Expensify.tsx +++ b/src/Expensify.tsx @@ -12,18 +12,41 @@ export default function Expensify() { style={{ flex: 1, justifyContent: 'center', - // alignItems: 'center', + alignItems: 'center', }} > - {/* */} - {}} /> + /> + {/* {}} /> */} {}} /> diff --git a/src/components/TextInput/BaseTextInput/index.native.tsx b/src/components/TextInput/BaseTextInput/index.native.tsx index c945f605e3c4..55a2bdbc5cf4 100644 --- a/src/components/TextInput/BaseTextInput/index.native.tsx +++ b/src/components/TextInput/BaseTextInput/index.native.tsx @@ -345,11 +345,11 @@ function BaseTextInput( !autoGrow && styles.flex1, !autoGrow && styles.w100, inputStyle, - (!hasLabel || isMultiline) && styles.pv0, - inputPaddingLeft, + // (!hasLabel || isMultiline) && styles.pv0, + // inputPaddingLeft, inputProps.secureTextEntry && styles.secureInput, - !isMultiline && {height, lineHeight: undefined}, + // !isMultiline && {height, lineHeight: undefined}, // Stop scrollbar flashing when breaking lines with autoGrowHeight enabled. ...(autoGrowHeight @@ -357,7 +357,7 @@ function BaseTextInput( : []), // Add disabled color theme when field is not editable. inputProps.disabled && styles.textInputDisabled, - styles.pointerEventsAuto, + // styles.pointerEventsAuto, ]} multiline={isMultiline} maxLength={maxLength} diff --git a/src/pages/iou/MoneyRequestAmountForm.tsx b/src/pages/iou/MoneyRequestAmountForm.tsx index a5bf175b7a54..98bb6c4722ab 100644 --- a/src/pages/iou/MoneyRequestAmountForm.tsx +++ b/src/pages/iou/MoneyRequestAmountForm.tsx @@ -280,7 +280,7 @@ function MoneyRequestAmountForm( }} shouldKeepUserInput={shouldKeepUserInput} moneyRequestAmountInputRef={moneyRequestAmountInput} - inputStyle={[styles.iouAmountTextInput, {backgroundColor: 'orange'}]} + inputStyle={[styles.iouAmountTextInput]} containerStyle={[styles.iouAmountTextInputContainer]} /> {!!formError && (