unfocus fields when tapping exchange [skip ci]

OmarHatem committed Jan 16, 2025 at 19:46 UTC 24c96edc854c612e99ab64911f1e7e48f13c8cd4
1 file changed +2
lib/src/screens/exchange/exchange_page.dart
+2
@@ -231,6 +231,8 @@ class ExchangePage extends BasePage {
231 key: ValueKey('exchange_page_exchange_button_key'),
232 text: S.of(context).exchange,
233 onPressed: () {
234 + FocusScope.of(context).unfocus();
235 +
236 if (_formKey.currentState != null &&
237 _formKey.currentState!.validate()) {
238 if ((exchangeViewModel.depositCurrency == CryptoCurrency.xmr) &&