@@ -7,7 +7,6 @@ import Icon from '@components/Icon';
77import Modal from '@components/Modal' ;
88import type { ModalProps } from '@components/Modal/Global/ModalContext' ;
99import PressableWithoutFeedback from '@components/Pressable/PressableWithoutFeedback' ;
10- import ScreenWrapper from '@components/ScreenWrapper' ;
1110import ScrollView from '@components/ScrollView' ;
1211import Text from '@components/Text' ;
1312import { useMemoizedLazyExpensifyIcons , useMemoizedLazyIllustrations } from '@hooks/useLazyAsset' ;
@@ -24,10 +23,10 @@ type GustoSyncResultsModalProps = ModalProps & {
2423
2524function GustoSyncResultsModal ( { result, closeModal} : GustoSyncResultsModalProps ) {
2625 const { translate} = useLocalize ( ) ;
27- const styles = useThemeStyles ( ) ;
2826 const theme = useTheme ( ) ;
29- const icons = useMemoizedLazyExpensifyIcons ( [ 'DownArrow' , 'Sync' ] ) ;
30- const illustrations = useMemoizedLazyIllustrations ( [ 'NewUser' ] ) ;
27+ const styles = useThemeStyles ( ) ;
28+ const icons = useMemoizedLazyExpensifyIcons ( [ 'DownArrow' ] ) ;
29+ const illustrations = useMemoizedLazyIllustrations ( [ 'SyncUsers' ] ) ;
3130 const [ isSkippedSectionExpanded , setIsSkippedSectionExpanded ] = useState ( false ) ;
3231
3332 const addedCount = result . addedEmployeesCount ?? 0 ;
@@ -50,10 +49,9 @@ function GustoSyncResultsModal({result, closeModal}: GustoSyncResultsModalProps)
5049 shouldHandleNavigationBack
5150 enableEdgeToEdgeBottomSafeAreaPadding
5251 >
53- < ScreenWrapper
54- includePaddingTop = { false }
55- enableEdgeToEdgeBottomSafeAreaPadding
52+ < View
5653 testID = "GustoSyncResultsModal"
54+ style = { [ styles . flex1 , styles . appBG ] }
5755 >
5856 < HeaderWithBackButton
5957 title = { translate ( 'workspace.hr.gusto.syncResults.title' ) }
@@ -62,18 +60,10 @@ function GustoSyncResultsModal({result, closeModal}: GustoSyncResultsModalProps)
6260 < ScrollView contentContainerStyle = { [ styles . flexGrow1 , styles . ph5 ] } >
6361 < View style = { [ styles . alignItemsCenter , styles . mt8 , styles . mb8 , styles . pRelative ] } >
6462 < Icon
65- src = { illustrations . NewUser }
63+ src = { illustrations . SyncUsers }
6664 width = { 88 }
6765 height = { 88 }
6866 />
69- < View style = { [ styles . pAbsolute , styles . rn3 , styles . b0 ] } >
70- < Icon
71- src = { icons . Sync }
72- fill = { theme . success }
73- width = { 36 }
74- height = { 36 }
75- />
76- </ View >
7767 </ View >
7868 < Text style = { [ styles . textHeadlineH1 , styles . mb8 ] } > { translate ( 'workspace.hr.gusto.syncResults.successTitle' ) } </ Text >
7969 { renderResultSummary ( translate ( 'workspace.hr.gusto.syncResults.added' ) , addedCount ) }
@@ -105,15 +95,15 @@ function GustoSyncResultsModal({result, closeModal}: GustoSyncResultsModalProps)
10595 </ View >
10696 ) ) }
10797 </ ScrollView >
108- < FixedFooter >
98+ < FixedFooter addBottomSafeAreaPadding >
10999 < Button
110100 large
111101 success
112102 text = { translate ( 'common.buttonConfirm' ) }
113103 onPress = { closeResultsModal }
114104 />
115105 </ FixedFooter >
116- </ ScreenWrapper >
106+ </ View >
117107 </ Modal >
118108 ) ;
119109}
0 commit comments