|
| 1 | +import { Subtitle } from "@/GlobalStyles"; |
1 | 2 | import { MainStackParamList } from "@/MainStack.navigator"; |
2 | 3 | import { UserPrivateDTOIntentionsEnum } from "@/api/gen/src"; |
3 | 4 | import { OButtonWide } from "@/components/OButtonWide/OButtonWide"; |
4 | 5 | import { OPageContainer } from "@/components/OPageContainer/OPageContainer"; |
5 | 6 | import { EACTION_USER, useUserContext } from "@/context/UserContext"; |
6 | | -import { TR, i18n } from "@/localization/translate.service"; |
| 7 | +import { TR, formatBoldText, i18n } from "@/localization/translate.service"; |
7 | 8 | import { saveOnboardingState } from "@/services/storage.service"; |
8 | 9 | import * as React from "react"; |
9 | | -import { StyleSheet, View } from "react-native"; |
| 10 | +import { StyleSheet, Text, View } from "react-native"; |
10 | 11 | import { NativeStackScreenProps } from "react-native-screens/native-stack"; |
11 | 12 | import { ROUTES } from "../routes"; |
12 | 13 |
|
@@ -83,6 +84,21 @@ const IntentionChoice = ({ |
83 | 84 | onPress={() => toggleIntention("friendship")} |
84 | 85 | /> |
85 | 86 | </View> |
| 87 | + |
| 88 | + <View style={styles.optionContainer}> |
| 89 | + <OButtonWide |
| 90 | + text={i18n.t(TR.reconnectFriends)} |
| 91 | + filled={isSelected( |
| 92 | + UserPrivateDTOIntentionsEnum.reconnect_friends, |
| 93 | + )} |
| 94 | + variant="dark" |
| 95 | + disabled={true} |
| 96 | + onPress={() => toggleIntention("reconnect_friends")} |
| 97 | + /> |
| 98 | + <Text style={[Subtitle, styles.subtitle]}> |
| 99 | + {formatBoldText(i18n.t(TR.reconnectFriendsDescription))} |
| 100 | + </Text> |
| 101 | + </View> |
86 | 102 | </OPageContainer> |
87 | 103 | ); |
88 | 104 | }; |
|
0 commit comments