@@ -10,7 +10,7 @@ import { wasDeviceDisconnectedByUserActionAtom } from '@suite-native/device';
10
10
import { useTranslate } from '@suite-native/intl' ;
11
11
import { Screen , ScreenHeader , ScreenProps } from '@suite-native/navigation' ;
12
12
13
- const OnboardingExitButtonScreenHeader = ( ) => {
13
+ const DeviceOnboardingExitButtonScreenHeader = ( ) => {
14
14
const navigation = useNavigation ( ) ;
15
15
const { showAlert } = useAlert ( ) ;
16
16
const { translate } = useTranslate ( ) ;
@@ -20,12 +20,12 @@ const OnboardingExitButtonScreenHeader = () => {
20
20
21
21
const handleExitButtonPress = useCallback ( ( ) => {
22
22
showAlert ( {
23
- title : translate ( 'moduleOnboarding .cancelOnboardingAlert.title' ) ,
24
- description : translate ( 'moduleOnboarding .cancelOnboardingAlert.description' ) ,
23
+ title : translate ( 'moduleDeviceOnboarding .cancelOnboardingAlert.title' ) ,
24
+ description : translate ( 'moduleDeviceOnboarding .cancelOnboardingAlert.description' ) ,
25
25
primaryButtonTitle : translate ( 'generic.buttons.cancel' ) ,
26
26
primaryButtonVariant : 'redBold' ,
27
27
secondaryButtonTitle : translate (
28
- 'moduleOnboarding .cancelOnboardingAlert.continueButton' ,
28
+ 'moduleDeviceOnboarding .cancelOnboardingAlert.continueButton' ,
29
29
) ,
30
30
secondaryButtonVariant : 'redElevation0' ,
31
31
onPressPrimaryButton : ( ) => {
@@ -52,8 +52,8 @@ const OnboardingExitButtonScreenHeader = () => {
52
52
return < ScreenHeader closeActionType = "close" closeAction = { handleExitButtonPress } /> ;
53
53
} ;
54
54
55
- export const OnboardingScreenWithExitButton = ( { children, ...screenProps } : ScreenProps ) => (
56
- < Screen header = { < OnboardingExitButtonScreenHeader /> } { ...screenProps } >
55
+ export const DeviceOnboardingScreenWithExitButton = ( { children, ...screenProps } : ScreenProps ) => (
56
+ < Screen header = { < DeviceOnboardingExitButtonScreenHeader /> } { ...screenProps } >
57
57
{ children }
58
58
</ Screen >
59
59
) ;
0 commit comments