diff --git a/web/src/components/wallet/WalletModal.tsx b/web/src/components/wallet/WalletModal.tsx index e503ff93..adf298f1 100644 --- a/web/src/components/wallet/WalletModal.tsx +++ b/web/src/components/wallet/WalletModal.tsx @@ -1,6 +1,7 @@ import React, { useState, useEffect } from 'react'; import { useTranslation } from 'react-i18next'; import { Wallet, Chrome, ExternalLink, Copy, Check, LogOut, Award, Users, TrendingUp, Shield, Smartphone } from 'lucide-react'; +import { useIsMobile } from '@/hooks/use-mobile'; import { Dialog, DialogContent, @@ -35,6 +36,7 @@ export const WalletModal: React.FC = ({ isOpen, onClose }) => } = usePezkuwi(); const { t } = useTranslation(); + const isMobile = useIsMobile(); const [copied, setCopied] = useState(false); const [showWCModal, setShowWCModal] = useState(false); const [scores, setScores] = useState({ @@ -332,9 +334,10 @@ export const WalletModal: React.FC = ({ isOpen, onClose }) => ) : ( - // No accounts, show two connection options + // No accounts — mobile: only mobile wallet, desktop: both options
- {/* Option 1: Browser Extension */} + {/* Option 1: Browser Extension (desktop only) */} + {!isMobile && (
@@ -361,6 +364,7 @@ export const WalletModal: React.FC = ({ isOpen, onClose }) => {t('walletModal.extensionGet')}
+ )} {/* Option 2: Mobile Wallet */}