@@ -12,7 +12,7 @@ import { useRouter } from 'expo-router';
1212import AsyncStorage from '@react-native-async-storage/async-storage' ;
1313import { MaterialIcons } from '@expo/vector-icons' ;
1414import { useTheme } from '@/theme' ;
15- import { Card , ThemedAlertHelper , WebViewLogin , BandSelectionModal , getSelectedBandsDisplay , MonthlySettingsModal , DiagnosisResultModal , SpeedtestModal , MeshGradientBackground , AnimatedScreen , BouncingDots , ModernRefreshIndicator , CustomRefreshScrollView } from '@/components' ;
15+ import { Card , ThemedAlertHelper , WebViewLogin , BandSelectionModal , getSelectedBandsDisplay , MonthlySettingsModal , DiagnosisResultModal , SpeedtestModal , MeshGradientBackground , AnimatedScreen , BouncingDots , ModernRefreshIndicator , CustomRefreshScrollView , SignalPointingModal } from '@/components' ;
1616import { QuickActionsCard , ConnectionStatusCard , NoDataWarningCard , SignalInfoCard , TrafficStatsCard , ConnectionStatusSkeleton , QuickActionsSkeleton , TrafficStatsSkeleton , homeStyles as styles } from '@/components/home' ;
1717import { useAuthStore } from '@/stores/auth.store' ;
1818import { useModemStore } from '@/stores/modem.store' ;
@@ -92,6 +92,7 @@ export default function HomeScreen() {
9292 const [ diagnosisSummary , setDiagnosisSummary ] = useState ( '' ) ;
9393
9494 const [ showSpeedtestModal , setShowSpeedtestModal ] = useState ( false ) ;
95+ const [ showSignalPointingModal , setShowSignalPointingModal ] = useState ( false ) ;
9596
9697 const [ isClearingHistory , setIsClearingHistory ] = useState ( false ) ;
9798 const [ lastClearedDate , setLastClearedDate ] = useState < string | null > ( null ) ;
@@ -762,12 +763,11 @@ export default function HomeScreen() {
762763 mobileDataEnabled = { ! ! mobileDataStatus ?. dataswitch }
763764 isTogglingData = { isTogglingData }
764765 isChangingIp = { isChangingIp }
765- isRunningDiagnosis = { isRunningDiagnosis }
766766 isRunningCheck = { isRunningCheck }
767767 onOpenBandModal = { ( ) => setShowBandModal ( true ) }
768768 onChangeIp = { handleChangeIp }
769769 onToggleMobileData = { handleToggleMobileData }
770- onDiagnosis = { handleDiagnosis }
770+ onSignalPointing = { ( ) => setShowSignalPointingModal ( true ) }
771771 onQuickCheck = { handleOneClickCheck }
772772 onSpeedtest = { ( ) => setShowSpeedtestModal ( true ) }
773773 />
@@ -846,6 +846,12 @@ export default function HomeScreen() {
846846 visible = { showSpeedtestModal }
847847 onClose = { ( ) => setShowSpeedtestModal ( false ) }
848848 />
849+
850+ { /* Signal Pointing Modal */ }
851+ < SignalPointingModal
852+ visible = { showSignalPointingModal }
853+ onClose = { ( ) => setShowSignalPointingModal ( false ) }
854+ />
849855 </ ScrollView >
850856 </ MeshGradientBackground >
851857 </ AnimatedScreen >
0 commit comments