diff --git a/src/screens/PointsScreen.tsx b/src/screens/PointsScreen.tsx index 4e61ffbbbbe..1984b1e58ae 100644 --- a/src/screens/PointsScreen.tsx +++ b/src/screens/PointsScreen.tsx @@ -23,6 +23,7 @@ import { Bleed, Box, Inline, + Inset, Separator, Stack, Text, @@ -62,8 +63,6 @@ const flyUpConfig = { easing: Easing.bezier(0.05, 0.7, 0.1, 1.0), }; -const infoCircleColor = 'rgba(245, 248, 255, 0.25)'; - const LeaderboardRow = () => { const rank: number = 1; let gradient; @@ -148,22 +147,25 @@ const LeaderboardRow = () => { {rank <= 3 && gradient ? ( - - 102,687 - - } - > - + + + + 102,687 + + + } + > - - + + ) : ( 102,687 @@ -198,7 +200,7 @@ const InfoCard = ({ icon: string; accentColor: string; }) => ( - + {title} - + 􀅵 @@ -341,7 +343,11 @@ export default function PointsScreen() { hasStatusBarInset leftComponent={ pointsFullyEnabled && ( - + {accountImage ? ( {pointsFullyEnabled ? ( - - - - 10,428 - - } - > - - - - - - {/* */} - - - - {}} - title={i18n.t(i18n.l.points.next_reward)} - mainText="20h 19m" - icon="􀉉" - subtitle="12pm Monday" - accentColor={labelSecondary} - /> - {}} - title={i18n.t(i18n.l.points.streak)} - mainText={`36 ${i18n.t(i18n.l.points.days)}`} - icon="􀙬" - subtitle={i18n.t(i18n.l.points.longest_yet)} - accentColor={pink} - /> - {}} - title={i18n.t(i18n.l.points.referrals)} - mainText="12" - icon="􀇯" - subtitle="8,200" - accentColor={yellow} - /> - - - - - - - - {i18n.t(i18n.l.points.referral_link)} - - - 􀅵 - - - - + + + + - - 􀈂 - - - {i18n.t(i18n.l.points.share)} + + + 10,428 } > - - + + + + + + + + + {}} + title={i18n.t(i18n.l.points.next_reward)} + mainText="20h 19m" + icon="􀉉" + subtitle="12pm Monday" + accentColor={labelSecondary} + /> + {}} + title={i18n.t(i18n.l.points.streak)} + mainText={`36 ${i18n.t(i18n.l.points.days)}`} + icon="􀙬" + subtitle={i18n.t(i18n.l.points.longest_yet)} + accentColor={pink} + /> + {}} + title={i18n.t(i18n.l.points.referrals)} + mainText="12" + icon="􀇯" + subtitle="8,200" + accentColor={yellow} + /> + + + + + + + + {i18n.t(i18n.l.points.referral_link)} + + + 􀅵 + + + + + + + maskElement={ + + + 􀈂 + + + {i18n.t(i18n.l.points.share)} + + + } + > + + - - - - {/* @ts-ignore */} - - {({ onNewEmoji }: { onNewEmoji: () => void }) => ( - onPressCopy(onNewEmoji)}> - + + {/* @ts-ignore */} + + {({ onNewEmoji }: { onNewEmoji: () => void }) => ( + onPressCopy(onNewEmoji)} + overflowMargin={50} > - - 􀉣 - - - - rainbow.me/points?ref=0x2e6786983232jkl + + + 􀉣 + + + rainbow.me/points?ref=0x2e6786983232jkl + + - - - )} - - - - - - {i18n.t(i18n.l.points.leaderboard)} - - + + )} + + + + + + {i18n.t(i18n.l.points.leaderboard)} + - - - - skillet.eth - - - #20 - - - + + + skillet.eth + + + #20 + + + + - - - - } + - - - - - - - - - - - + + } + > + + + + + + + + + + + + - + ) : ( <>