Skip to content

Commit 5e57194

Browse files
authored
Merge branch 'develop' into YV-275
2 parents bc41095 + 14cf825 commit 5e57194

File tree

5 files changed

+108
-114
lines changed

5 files changed

+108
-114
lines changed

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/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/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)