Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
buttonColor: '#ffffff',
drawBehind: true,
noBorder: true,
title: {
color: '#ffffff',
},
backButton: {
visible: false,
},
background: {
color: body.bg,
translucent: true,
},
},
});
await RNPrint.print({ html: blankWalletHTML });
this.onNextPress();
} catch (err) {
console.error(err); // eslint-disable-line no-console
}
}
}
svg{
height: ${isAndroid ? '100vh' : '110vh'};
width: 100vw;
}
${paperWallet}
`;
try {
this.props.navigator.toggleNavBar({
to: 'shown',
});
await RNPrint.print({ html: blankWalletHTML });
} catch (err) {
console.error(err);
}
}
buttonColor: '#ffffff',
drawBehind: true,
noBorder: true,
title: {
color: '#ffffff',
},
backButton: {
visible: true,
},
background: {
color: body.bg,
translucent: true,
},
},
});
RNPrint.print({ html: paperWalletHTML });
},
500,