(text: string)
| 369 | }, [navigate, onBarScanned, route.params?.onBarScanned, setParams]); |
| 370 | |
| 371 | const onChangeText = (text: string): void => { |
| 372 | const trimmedText = text.trim(); |
| 373 | setDestination(trimmedText); |
| 374 | processTextForInvoice(trimmedText); |
| 375 | }; |
| 376 | |
| 377 | if (wallet === undefined || !wallet) { |
| 378 | return ( |
no test coverage detected