Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

LL-3944 remove ongoing banner #1493

Merged
merged 2 commits into from
Dec 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
107 changes: 0 additions & 107 deletions src/components/banners/OngoingScams.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/config/urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ export const urls = {
"https://shop.ledger.com/products/ledger-backup-pack?utm_source=ledger_live_mobile&utm_medium=self_referral&utm_content=banner_carousel",
ledgerAcademy:
"https://www.ledger.com/academy?utm_source=ledger_live_mobile&utm_medium=self_referral&utm_content=banner_carousel",
ongoingScams:
"https://www.ledger.com/ongoing-phishing-campaigns?utm_source=ledger_live_mobile&utm_medium=self_referral&utm_content=banner_carousel",
},
compound:
"https://support.ledger.com/hc/en-us/articles/360017215099?utm_source=ledger_live_mobile&utm_medium=self_referral&utm_content=compound",
Expand Down
5 changes: 0 additions & 5 deletions src/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -651,11 +651,6 @@
}
}
},
"banners": {
"ongoingScams": {
"description": "There are ongoing phishing scams on our userbase, please be careful and never share your recovery phrase."
}
},
"onboarding": {
"stepCount": "{{current}} of {{total}}",
"stepsTitles": {
Expand Down
2 changes: 0 additions & 2 deletions src/screens/Portfolio/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import TrackScreen from "../../analytics/TrackScreen";
import NoOpStatePortfolio from "./NoOpStatePortfolio";
import NoOperationFooter from "../../components/NoOperationFooter";
import MigrateAccountsBanner from "../MigrateAccounts/Banner";
import OngoingScams from "../../components/banners/OngoingScams";
import RequireTerms from "../../components/RequireTerms";
import { useScrollToTop } from "../../navigation/utils";

Expand Down Expand Up @@ -150,7 +149,6 @@ export default function PortfolioScreen({ navigation }: Props) {
<AnimatedFlatListWithRefreshControl
ref={ref}
data={[
<OngoingScams />,
...(accounts.length > 0 && !accounts.every(isAccountEmpty)
? [<Carousel />]
: []),
Expand Down