Skip to content

Commit ed7966c

Browse files
authored
Merge branch 'develop' into refactor/swap-module
2 parents 929fb80 + d2b62f0 commit ed7966c

File tree

12 files changed

+220
-181
lines changed

12 files changed

+220
-181
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"project_info": {
3+
"project_number": "526970676782",
4+
"project_id": "yoroi-mobile-99140",
5+
"storage_bucket": "yoroi-mobile-99140.firebasestorage.app"
6+
},
7+
"client": [
8+
{
9+
"client_info": {
10+
"mobilesdk_app_id": "1:526970676782:android:7eafa93ccb53f41ca021bf",
11+
"android_client_info": {
12+
"package_name": "com.emurgo"
13+
}
14+
},
15+
"oauth_client": [],
16+
"api_key": [
17+
{
18+
"current_key": "AIzaSyDRxPyhvvI1QSSE7cjc12ac7uJnOa7SY1w"
19+
}
20+
],
21+
"services": {
22+
"appinvite_service": {
23+
"other_platform_oauth_client": []
24+
}
25+
}
26+
}
27+
],
28+
"configuration_version": "1"
29+
}

apps/wallet-mobile/src/AppNavigator.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const changeNavigationBarColor = (colorScheme: 'default-dark' | 'default-light',
5656
}
5757

5858
export const AppNavigator = () => {
59-
useInitNotifications({localEnabled: features.localNotifications, pushEnabled: features.pushNotifications})
59+
useInitNotifications({localEnabled: true, pushEnabled: features.pushNotifications})
6060
useDeepLinkWatcher()
6161
const strings = useStrings()
6262
const [routeName, setRouteName] = React.useState<string>()

apps/wallet-mobile/src/components/Modal/ModalScreen.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ const useStyles = () => {
160160
...atoms.self_stretch,
161161
},
162162
title: {
163+
...atoms.text_center,
163164
...atoms.heading_3_medium,
164165
...atoms.p_lg,
165166
color: color.text_gray_max,

apps/wallet-mobile/src/components/TextInput/TextInput.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const useStyles = () => {
249249
background: color.bg_color_max,
250250
gray: color.gray_400,
251251
textInput: color.gray_600,
252-
actionGray: color.gray_500,
252+
actionGray: color.el_gray_medium,
253253
black: color.gray_max,
254254
text: color.gray_900,
255255
textError: color.sys_magenta_500,
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
By clicking "Proceed," you acknowledge that you will be redirected to a third-party service provider offering ADA-Cardano native tokens exchanges. You may be required to agree to the terms, conditions, and privacy policies of the third-party provider to complete the transaction. Yoroi Wallet does not control, endorse, or assume responsibility for the content, security, policies, or services provided by the third party.
21

3-
**Please note:**
42

5-
1. Yoroi Wallet is not liable for any losses, delays, or errors that may occur while using the third-party service.
3+
4+
5+
1.
66
2. Transactions may be subject to restrictions based on your geographic location, applicable laws, financial institution policies, or the service provider's limitations.
77
3. Ensure you review and understand the third party's terms, as your interactions are solely governed by their agreements.
88
4. Yoroi Wallet does not collect or store any personal or financial data submitted through the third-party platform.

apps/wallet-mobile/src/features/Settings/useCases/changeWalletSettings/WalletSettingsScreen.tsx

+7-12
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {SafeAreaView} from 'react-native-safe-area-context'
1111
import {Icon} from '../../../../components/Icon'
1212
import {Spacer} from '../../../../components/Spacer/Spacer'
1313
import {DIALOG_BUTTONS, showConfirmationDialog} from '../../../../kernel/dialogs'
14-
import {features} from '../../../../kernel/features'
1514
import {confirmationMessages} from '../../../../kernel/i18n/global-messages'
1615
import {useMetrics} from '../../../../kernel/metrics/metricsManager'
1716
import {SettingsRouteNavigation, useWalletNavigation} from '../../../../kernel/navigation'
@@ -137,17 +136,13 @@ export const WalletSettingsScreen = () => {
137136

138137
<Spacer height={24} />
139138

140-
{features.localNotifications && (
141-
<>
142-
<SettingsSection title={strings.inAppNotifications}>
143-
<SettingsItem icon={<Icon.Bell {...iconProps} />} label={strings.allowNotifications}>
144-
<NotificationDisplaySwitcher />
145-
</SettingsItem>
146-
</SettingsSection>
147-
148-
<Spacer height={24} />
149-
</>
150-
)}
139+
<SettingsSection title={strings.inAppNotifications}>
140+
<SettingsItem icon={<Icon.Bell {...iconProps} />} label={strings.allowNotifications}>
141+
<NotificationDisplaySwitcher />
142+
</SettingsItem>
143+
</SettingsSection>
144+
145+
<Spacer height={24} />
151146

152147
<SettingsSection title={strings.about}>
153148
<SettingsBuildItem label={strings.walletType} value={intl.formatMessage(getWalletType(implementation))} />

apps/wallet-mobile/src/kernel/features.ts

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ export const features = {
55
prefillWalletInfo: false,
66
showProdPoolsInDev: isDev,
77
moderatingNftsEnabled: false,
8-
localNotifications: true,
98
pushNotifications: isDev,
109
poolTransition: true,
1110
portfolioPerformance: false,

apps/wallet-mobile/src/kernel/i18n/locales/es-ES.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@
485485
"components.settings.walletsettingscreen.tabTitle": "Billetera",
486486
"components.settings.walletsettingscreen.title": "Configuración",
487487
"components.settings.walletsettingscreen.unknownWalletType": "Tipo de monedero desconocido",
488-
"components.settings.walletsettingscreen.fcmToken": "FCM Token",
488+
"components.settings.walletsettingscreen.fcmToken": "Token de Mensajería en la nube de Firebase (FCM)",
489489
"components.settings.walletsettingscreen.walletName": "Nombre de la billetera",
490490
"components.settings.walletsettingscreen.walletType": "Tipo de billetera:",
491491
"components.settings.walletsettingscreen.inAppNotifications": "In-app notifications",

apps/wallet-mobile/src/kernel/i18n/locales/fr-FR.json

+34-34
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,43 @@
77
"analytics.noip": "We <b>are not</b> recording IP addresses",
88
"analytics.nosell": "We <b>do not</b> sell data",
99
"analytics.optout": "You can always opt-out via Settings",
10-
"analytics.privacyNotice": "Privacy Notice",
11-
"analytics.privacyPolicy": "Privacy Policy",
10+
"analytics.privacyNotice": "Avis de confidentialité",
11+
"analytics.privacyPolicy": "Politique de confidentialité",
1212
"analytics.private": "We <b>cannot</b> access private keys",
13-
"analytics.selectLanguage": "Select Language",
13+
"analytics.selectLanguage": "Choisissez la langue",
1414
"analytics.skip": "Skip",
1515
"analytics.toggle": "Allow Yoroi analytics",
16-
"analytics.tosAgreement": "Terms Of Service Agreement",
17-
"analytics.tosAnd": "and",
18-
"analytics.tosIAgreeWith": "I agree with",
19-
"api.error.badRequest": "Server could not understand the request",
20-
"api.error.conflict": "The request could not be completed due to a conflict",
21-
"api.error.forbidden": "You are not allowed to access this resource",
22-
"api.error.gone": "The requested resource is no longer available",
23-
"api.error.invalidState": "Invalid state",
24-
"api.error.network": "Something went wrong with the network",
25-
"api.error.notFound": "The requested resource could not be found",
26-
"api.error.responseMalformed": "The server response is malformed we can't interpret it",
27-
"api.error.serverSide": "The server encountered an unexpected condition",
28-
"api.error.title": "Oops! API error",
29-
"api.error.tooEarly": "The requested resource is not yet available, try again later",
30-
"api.error.tooManyRequests": "Too many requests, wait a bit and try again",
31-
"api.error.unauthorized": "You are not authorized to access this resource",
32-
"api.error.unknown": "An error that is unknown for the app happened, please try again",
33-
"catalyst.snapshot.start": "Snapshot start",
34-
"catalyst.registration.start": "Registration start",
35-
"catalyst.voting.start": "Voting start",
36-
"catalyst.voting.end": "Voting end",
37-
"catalyst.voting.results": "Results",
38-
"claim.accepted.message": "Claim has been accepted, you will receive your asset(s) soon, please scan the code again to check the status",
39-
"claim.accepted.title": "Claim accepted 👍",
40-
"claim.addressSharingWarning": "You will be sharing with the domain listed here your address",
41-
"claim.apiError.alreadyClaimed": "This claim has already been done",
42-
"claim.apiError.expired": "This claim has ended, it is no longer availble",
43-
"claim.apiError.invalidRequest": "The server rejecte the request, check the address provided by the wallet is on the wrong network for this claim, and if the code is still avaible",
44-
"claim.apiError.notFound": "The claim could not be found",
45-
"claim.apiError.rateLimited": "Too many claims happening, wait a bit and try again",
46-
"claim.apiError.title": "The claim failed",
16+
"analytics.tosAgreement": "Conditions générales d'utilisation",
17+
"analytics.tosAnd": "et",
18+
"analytics.tosIAgreeWith": "Je consens",
19+
"api.error.badRequest": "Le serveur n'a pas pu interpréter la requête",
20+
"api.error.conflict": "La requête n'a pas pu aboutir en raison d'un conflit",
21+
"api.error.forbidden": "Vous n'êtes pas autorisé à accéder à cette ressource",
22+
"api.error.gone": "La ressource demandée n'est plus disponible",
23+
"api.error.invalidState": "État invalide",
24+
"api.error.network": "Un problème a été détecté avec le réseau",
25+
"api.error.notFound": "La ressource demandée est introuvable",
26+
"api.error.responseMalformed": "La réponse du serveur ne peut être interprétée",
27+
"api.error.serverSide": "Le serveur a rencontré un problème inattendu de condition",
28+
"api.error.title": "Oups ! Erreur API",
29+
"api.error.tooEarly": "La ressource demandée n'est pas encore disponible, réessayez plus tard",
30+
"api.error.tooManyRequests": "Trop de requêtes, attendez un peu et réessayez",
31+
"api.error.unauthorized": "Vous n'êtes pas autorisé à accéder à cette ressource.",
32+
"api.error.unknown": "Une erreur inconnue s'est produite, veuillez réessayer",
33+
"catalyst.snapshot.start": "Début du snapshot",
34+
"catalyst.registration.start": "Début de l'inscription",
35+
"catalyst.voting.start": "Début du vote",
36+
"catalyst.voting.end": "Fin du vote",
37+
"catalyst.voting.results": "Résultats",
38+
"claim.accepted.message": "La demande a été acceptée, vous allez bientôt recevoir vos fonds. Veuillez scanner le code à nouveau pour consulter le statut",
39+
"claim.accepted.title": "Demande acceptée 👍",
40+
"claim.addressSharingWarning": "Vous allez partager votre adresse avec le domaine listé ici",
41+
"claim.apiError.alreadyClaimed": "Cette demande a déjà été effectuée",
42+
"claim.apiError.expired": "Cette demande est terminée et n'est plus disponible",
43+
"claim.apiError.invalidRequest": "Le serveur a rejeté la demande, vérifiez que l'adresse fournie par le portefeuille n'est pas sur le mauvais réseau pour cette demande, et si le code est toujours disponible",
44+
"claim.apiError.notFound": "La demande n'a pas pu être trouvée",
45+
"claim.apiError.rateLimited": "Trop de requêtes, attendez un peu et réessayez",
46+
"claim.apiError.title": "La demande a échoué",
4747
"claim.apiError.tooEarly": "This claim hasn't started yet, please try again later",
4848
"claim.askConfirmation.title": "Confirm claim",
4949
"claim.code": "Code",

apps/wallet-mobile/translations/messages/src/AppNavigator.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"start": {
77
"line": 261,
88
"column": 17,
9-
"index": 9836
9+
"index": 9813
1010
},
1111
"end": {
1212
"line": 264,
1313
"column": 3,
14-
"index": 9926
14+
"index": 9903
1515
}
1616
},
1717
{
@@ -21,12 +21,12 @@
2121
"start": {
2222
"line": 265,
2323
"column": 18,
24-
"index": 9946
24+
"index": 9923
2525
},
2626
"end": {
2727
"line": 268,
2828
"column": 3,
29-
"index": 10044
29+
"index": 10021
3030
}
3131
},
3232
{
@@ -36,12 +36,12 @@
3636
"start": {
3737
"line": 269,
3838
"column": 25,
39-
"index": 10071
39+
"index": 10048
4040
},
4141
"end": {
4242
"line": 272,
4343
"column": 3,
44-
"index": 10185
44+
"index": 10162
4545
}
4646
},
4747
{
@@ -51,12 +51,12 @@
5151
"start": {
5252
"line": 273,
5353
"column": 27,
54-
"index": 10214
54+
"index": 10191
5555
},
5656
"end": {
5757
"line": 276,
5858
"column": 3,
59-
"index": 10335
59+
"index": 10312
6060
}
6161
}
6262
]

0 commit comments

Comments
 (0)