Skip to content

Commit 6eb4285

Browse files
authored
Merge branch 'main' into feat/infra-3527-bitrise-ios-runners-poc
2 parents 39afe73 + acda605 commit 6eb4285

185 files changed

Lines changed: 10189 additions & 4703 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/components/Nav/App/App.tsx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ import { usePredictToastRegistrations } from '../../UI/Predict/hooks/usePredictT
4141
import { usePerpsWithdrawToastRegistrations } from '../../UI/Perps/hooks/usePerpsWithdrawToastRegistrations';
4242
import AccountSelector from '../../../components/Views/AccountSelector';
4343
import AddressSelector from '../../../components/Views/AddressSelector';
44+
import AddWallet from '../../../components/Views/AddWallet';
4445
import { TokenSortBottomSheet } from '../../UI/Tokens/TokenSortBottomSheet/TokenSortBottomSheet';
4546
import ProfilerManager from '../../../components/UI/ProfilerManager';
4647
import NetworkManager from '../../../components/UI/NetworkManager';
@@ -473,6 +474,19 @@ const RootModalFlow = (props: RootModalFlowProps) => (
473474
detachPreviousScreen: false,
474475
}}
475476
/>
477+
<Stack.Screen
478+
name={Routes.SHEET.ADD_WALLET}
479+
component={AddWallet}
480+
options={{
481+
cardStyle: { backgroundColor: importedColors.transparent },
482+
cardStyleInterpolator: () => ({
483+
overlayStyle: {
484+
opacity: 0,
485+
},
486+
}),
487+
detachPreviousScreen: false,
488+
}}
489+
/>
476490
<Stack.Screen
477491
name={Routes.SHEET.ADDRESS_SELECTOR}
478492
component={AddressSelector}
@@ -984,7 +998,7 @@ const AppFlow = () => {
984998
component={RootModalFlow as ScreenComponent}
985999
/>
9861000
<Stack.Screen
987-
name="ImportPrivateKeyView"
1001+
name={Routes.IMPORT_PRIVATE_KEY_VIEW}
9881002
component={ImportPrivateKeyView}
9891003
options={{
9901004
animationEnabled: true,

app/components/Nav/Main/MainNavigator.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ import RewardOptInAccountGroupModal from '../../UI/Rewards/components/Settings/R
144144
import EndOfSeasonClaimBottomSheet from '../../UI/Rewards/components/EndOfSeasonClaimBottomSheet/EndOfSeasonClaimBottomSheet';
145145
import RewardsSelectSheet from '../../UI/Rewards/components/RewardsSelectSheet';
146146
import OndoPendingSheet from '../../UI/Rewards/components/Campaigns/OndoPendingSheet';
147-
import CampaignTourStepView from '../../UI/Rewards/Views/CampaignTourStepView';
147+
148148
import SitesFullView from '../../Views/SitesFullView/SitesFullView';
149149
import { TokenDetails } from '../../UI/TokenDetails/Views/TokenDetails';
150150
import BenefitFullView from '../../UI/Rewards/Views/BenefitFullView';
@@ -285,6 +285,7 @@ const TransactionsHome = () => {
285285
<Stack.Screen
286286
name={Routes.RAMP.RAMPS_ORDER_DETAILS}
287287
component={RampsOrderDetails}
288+
options={{ headerShown: false }}
288289
/>
289290
<Stack.Screen
290291
name={Routes.DEPOSIT.ORDER_DETAILS}
@@ -615,7 +616,7 @@ const SettingsFlow = () => {
615616
<Stack.Screen
616617
name={Routes.SETTINGS.REGION_SELECTOR}
617618
component={RegionSelector}
618-
options={RegionSelector.navigationOptions}
619+
options={{ headerShown: false }}
619620
/>
620621
{
621622
///: BEGIN:ONLY_INCLUDE_IF(external-snaps)
@@ -1391,11 +1392,6 @@ const MainNavigator = () => {
13911392
///: END:ONLY_INCLUDE_IF
13921393
}
13931394
<Stack.Screen name={Routes.CARD.ROOT} component={CardRoutes} />
1394-
<Stack.Screen
1395-
name={Routes.REWARDS_CAMPAIGN_TOUR_STEP}
1396-
component={CampaignTourStepView}
1397-
options={{ headerShown: false }}
1398-
/>
13991395
<Stack.Screen
14001396
name={Routes.RAMP.MODALS.PROCESSING_INFO}
14011397
component={ProcessingInfoModal}

app/components/Nav/Main/__snapshots__/MainNavigator.test.tsx.snap

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -419,15 +419,6 @@ exports[`MainNavigator Tab Bar Visibility hides tab bar when browser is active 1
419419
component={[Function]}
420420
name="CardScreens"
421421
/>
422-
<Screen
423-
component={[Function]}
424-
name="RewardsCampaignTourStep"
425-
options={
426-
{
427-
"headerShown": false,
428-
}
429-
}
430-
/>
431422
<Screen
432423
component={[Function]}
433424
name="RampProcessingInfoModal"
@@ -865,15 +856,6 @@ exports[`MainNavigator Tab Bar Visibility shows tab bar when not in browser 1`]
865856
component={[Function]}
866857
name="CardScreens"
867858
/>
868-
<Screen
869-
component={[Function]}
870-
name="RewardsCampaignTourStep"
871-
options={
872-
{
873-
"headerShown": false,
874-
}
875-
}
876-
/>
877859
<Screen
878860
component={[Function]}
879861
name="RampProcessingInfoModal"
@@ -1311,15 +1293,6 @@ exports[`MainNavigator matches rendered snapshot 1`] = `
13111293
component={[Function]}
13121294
name="CardScreens"
13131295
/>
1314-
<Screen
1315-
component={[Function]}
1316-
name="RewardsCampaignTourStep"
1317-
options={
1318-
{
1319-
"headerShown": false,
1320-
}
1321-
}
1322-
/>
13231296
<Screen
13241297
component={[Function]}
13251298
name="RampProcessingInfoModal"

0 commit comments

Comments
 (0)