Skip to content

Commit

Permalink
Fully remove legacy PromoCard
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-edge committed Jan 26, 2024
1 parent c7eb299 commit 3d50694
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 321 deletions.
41 changes: 0 additions & 41 deletions src/__tests__/components/PromoCard.test.tsx

This file was deleted.

215 changes: 0 additions & 215 deletions src/__tests__/components/__snapshots__/PromoCard.test.tsx.snap

This file was deleted.

58 changes: 0 additions & 58 deletions src/components/cards/PromoCard.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions src/components/themed/WalletListHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Ionicon from 'react-native-vector-icons/Ionicons'
import { Fontello } from '../../assets/vector/index'
import { lstrings } from '../../locales/strings'
import { NavigationBase } from '../../types/routerTypes'
import { PromoCard } from '../cards/PromoCard'
import { EdgeAnim } from '../common/EdgeAnim'
import { cacheStyles, Theme, ThemeProps, withTheme } from '../services/ThemeContext'
import { BalanceCardUi4 } from '../ui4/BalanceCardUi4'
Expand Down Expand Up @@ -48,12 +47,6 @@ export class WalletListHeaderComponent extends React.PureComponent<Props> {
<SectionHeaderUi4 leftTitle={lstrings.title_wallets} rightNode={addSortButtons} />
</EdgeAnim>
)}

{searching ? null : (
<EdgeAnim enter={{ type: 'fadeInUp', distance: 20 }} exit={{ type: 'fadeOutUp' }}>
<PromoCard navigation={navigation} />
</EdgeAnim>
)}
</>
)
}
Expand Down

0 comments on commit 3d50694

Please sign in to comment.