We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aab3ddc + 29b83b5 commit 2cdb9c3Copy full SHA for 2cdb9c3
react/lib/components/Widget/Widget.tsx
@@ -523,13 +523,8 @@ export const Widget: React.FunctionComponent<WidgetProps> = props => {
523
if (addressType === 'XEC') {
524
const hasExtension = getCashtabProviderStatus();
525
if (!hasExtension) {
526
- const isMobile = window.matchMedia('(pointer:coarse)').matches;
527
- if (isMobile) {
528
- const webUrl = `https://cashtab.com/#/send?bip21=${url}`;
529
- window.open(webUrl, '_blank');
530
- } else {
531
- window.location.href = url;
532
- }
+ const webUrl = `https://cashtab.com/#/send?bip21=${url}`;
+ window.open(webUrl, '_blank');
533
} else {
534
return window.postMessage(
535
{
0 commit comments