Skip to content

Commit

Permalink
fix: replace backspace button in bignumberpad with arrow icon
Browse files Browse the repository at this point in the history
  • Loading branch information
mkzie2 committed Nov 13, 2024
1 parent 67d7299 commit a58a253
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/BigNumberPad.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useThemeStyles from '@hooks/useThemeStyles';
import ControlSelection from '@libs/ControlSelection';
import Button from './Button';
import * as Expensicons from './Icon/Expensicons';

type BigNumberPadProps = {
/** Callback to inform parent modal with key pressed */
Expand Down Expand Up @@ -79,7 +80,8 @@ function BigNumberPad({numberPressed, longPressHandlerStateChanged = () => {}, i
large={!isExtraSmallScreenHeight}
shouldEnableHapticFeedback
style={[styles.flex1, marginLeft]}
text={column === '<' ? column : toLocaleDigit(column)}
text={column === '<' ? undefined : toLocaleDigit(column)}
icon={column === '<' ? Expensicons.BackArrow : undefined}
onLongPress={() => handleLongPress(column)}
onPress={() => numberPressed(column)}
onPressIn={ControlSelection.block}
Expand Down

0 comments on commit a58a253

Please sign in to comment.