mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-08-12 09:23:20 +00:00
Fix crash when paying not yet supported cashu PR with POST transport
This commit is contained in:
@@ -302,7 +302,7 @@ export const SendScreen = observer(function SendScreen({ route }: Props) {
|
||||
}
|
||||
|
||||
if (transport.type == PaymentRequestTransportType.POST) {
|
||||
// TODO
|
||||
throw new AppError(Err.VALIDATION_ERROR, 'Payment requests with POST transport are not supported yet.')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1697,7 +1697,7 @@ const ContactItem = function (props: {
|
||||
style={[{flexDirection: 'column', alignItems: 'center'}, props.containerStyle]}
|
||||
onPress={props.onPress}
|
||||
>
|
||||
{props.contact.picture ? (
|
||||
{props.contact && props.contact.picture ? (
|
||||
<View style={{borderRadius: 20, overflow: 'hidden'}}>
|
||||
<FastImage style={[
|
||||
$profileIcon, {
|
||||
|
||||
Reference in New Issue
Block a user