From ec0ea4b879408a1404c4651fb2c2487151c7cb74 Mon Sep 17 00:00:00 2001 From: Rohit Malhotra Date: Wed, 20 Nov 2024 13:03:23 +0530 Subject: [PATCH] DAPP-1972 price tracker activity + blocks fixes (#1973) --- src/blocks/icons/components/Asterisk.tsx | 25 +++++++++++--- src/blocks/icons/components/Lock.tsx | 29 ++++++++++++---- src/blocks/icons/components/Logout.tsx | 8 ++--- src/blocks/text/Text.constants.ts | 34 ++++++++++++++++--- src/common/Common.baseLogos.ts | 3 ++ .../components/RewardsActivityIcon.tsx | 13 ++++++- .../rewards/utils/activityTypeArray.ts | 1 + src/queries/types/rewards.ts | 1 + 8 files changed, 93 insertions(+), 21 deletions(-) diff --git a/src/blocks/icons/components/Asterisk.tsx b/src/blocks/icons/components/Asterisk.tsx index 6313a21f20..05ca467a07 100644 --- a/src/blocks/icons/components/Asterisk.tsx +++ b/src/blocks/icons/components/Asterisk.tsx @@ -9,16 +9,33 @@ const Asterisk: FC = (allProps) => { componentName="Asterisk" icon={ + + } diff --git a/src/blocks/icons/components/Lock.tsx b/src/blocks/icons/components/Lock.tsx index 9b95956f11..1937767e9a 100644 --- a/src/blocks/icons/components/Lock.tsx +++ b/src/blocks/icons/components/Lock.tsx @@ -12,23 +12,38 @@ const Lock: FC = (allProps) => { xmlns="http://www.w3.org/2000/svg" width="inherit" height="inherit" - viewBox="0 0 29 28" + viewBox="0 0 32 32" fill="none" {...props} > - + + + - + diff --git a/src/blocks/icons/components/Logout.tsx b/src/blocks/icons/components/Logout.tsx index b6d129e4b2..d923a5bdd2 100644 --- a/src/blocks/icons/components/Logout.tsx +++ b/src/blocks/icons/components/Logout.tsx @@ -12,24 +12,24 @@ const Logout: FC = (allProps) => { xmlns="http://www.w3.org/2000/svg" width="inherit" height="inherit" - viewBox="0 0 24 24" + viewBox="0 0 32 32" fill="none" {...props} > = ({ type }) => { ); } + if (type === 'channel_specific_subscriptions:BTC_PRICE_TRACKER_CHANNEL') { + return ( + + ); + } + if (type === 'atleast_5_defi_channel_specific_subscriptions') { return (