From 588da24f0b270ac62a205d0790165d5ef346790b Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Thu, 6 Feb 2025 23:45:43 -0400 Subject: [PATCH] FIX: Crash when pressing MAX on send details --- components/AmountInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/AmountInput.js b/components/AmountInput.js index 18ca74d30..82fe99506 100644 --- a/components/AmountInput.js +++ b/components/AmountInput.js @@ -258,7 +258,7 @@ class AmountInput extends Component { accessibilityRole="button" accessibilityLabel={loc._.enter_amount} disabled={this.props.pointerEvents === 'none'} - onPress={() => this.textInput.focus()} + onPress={() => this.textInput.current.focus()} > <>