diff --git a/components/DualCurrencyInput.tsx b/components/DualCurrencyInput.tsx index d954e32..b18958d 100644 --- a/components/DualCurrencyInput.tsx +++ b/components/DualCurrencyInput.tsx @@ -52,11 +52,12 @@ export function DualCurrencyInput({ placeholder="0" keyboardType="number-pad" value={inputMode === "sats" ? amount : fiatAmount} - cursorColor={CURSOR_COLOR} + selectionColor={CURSOR_COLOR} onChangeText={onChangeText} aria-labelledbyledBy="amount" style={styles.amountInput} autoFocus={autoFocus} + returnKeyType="done" // aria-errormessage="inputError" /> diff --git a/components/ui/input.tsx b/components/ui/input.tsx index 2cb0f2d..0ed66bc 100644 --- a/components/ui/input.tsx +++ b/components/ui/input.tsx @@ -16,7 +16,7 @@ const Input = React.forwardRef< props.editable === false && 'opacity-50 web:cursor-not-allowed', className )} - cursorColor={CURSOR_COLOR} + selectionColor={CURSOR_COLOR} placeholderClassName={cn('text-muted-foreground', placeholderClassName)} {...props} />