@@ -16,11 +16,12 @@ import SuggestionCard from './SuggestionCard';
1616import { ITodo , TTodoType } from '../store/types/todos' ;
1717import { channelsNotificationsShown , hideTodo } from '../store/slices/todos' ;
1818import { showBottomSheet } from '../store/utils/ui' ;
19+ import { pinSelector } from '../store/reselect/settings' ;
20+ import { transferIntroSeenSelector } from '../store/reselect/user' ;
1921import {
2022 newChannelsNotificationsSelector ,
2123 todosFullSelector ,
2224} from '../store/reselect/todos' ;
23- import { pinSelector } from '../store/reselect/settings' ;
2425import { useAppDispatch , useAppSelector } from '../hooks/redux' ;
2526import type { RootNavigationProp } from '../navigation/types' ;
2627import { appName , appStoreUrl , playStoreUrl } from '../constants/app' ;
@@ -34,6 +35,7 @@ const Suggestions = (): ReactElement => {
3435 const pinTodoDone = useAppSelector ( pinSelector ) ;
3536 const suggestions = useAppSelector ( todosFullSelector ) ;
3637 const newChannels = useAppSelector ( newChannelsNotificationsSelector ) ;
38+ const transferIntroSeen = useAppSelector ( transferIntroSeenSelector ) ;
3739 const [ index , setIndex ] = useState ( 0 ) ;
3840
3941 // this code is needed in order to avoid flashing wrong balance on channel open
@@ -73,7 +75,11 @@ const Suggestions = (): ReactElement => {
7375 }
7476
7577 if ( id === 'lightning' ) {
76- navigation . navigate ( 'TransferRoot' , { screen : 'TransferIntro' } ) ;
78+ if ( transferIntroSeen ) {
79+ navigation . navigate ( 'TransferRoot' , { screen : 'Funding' } ) ;
80+ } else {
81+ navigation . navigate ( 'TransferRoot' , { screen : 'TransferIntro' } ) ;
82+ }
7783 }
7884
7985 if ( id === 'lightningSettingUp' ) {
@@ -111,7 +117,7 @@ const Suggestions = (): ReactElement => {
111117 } ) ;
112118 }
113119 } ,
114- [ navigation , pinTodoDone , onShare ] ,
120+ [ navigation , transferIntroSeen , pinTodoDone , onShare ] ,
115121 ) ;
116122
117123 const handleRenderItem = useCallback (
0 commit comments