From 1b9d000198961e6c372478ce2e63d78af2651193 Mon Sep 17 00:00:00 2001 From: Hailey Date: Tue, 13 Feb 2024 10:28:18 -0800 Subject: [PATCH] fix icon --- src/components/icons/StreamingLive.tsx | 2 +- src/screens/Onboarding/StepProfile/index.tsx | 22 ++++++++++++-------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/components/icons/StreamingLive.tsx b/src/components/icons/StreamingLive.tsx index ec3733b086..8ab5099da7 100644 --- a/src/components/icons/StreamingLive.tsx +++ b/src/components/icons/StreamingLive.tsx @@ -1,5 +1,5 @@ import {createSinglePathSVG} from './TEMPLATE' -export const ArrowOutOfBox_Stroke2_Corner0_Rounded = createSinglePathSVG({ +export const StreamingLive_Stroke2_Corner0_Rounded = createSinglePathSVG({ path: 'M4 4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4Zm8 12.5c1.253 0 2.197.609 2.674 1.5H9.326c.477-.891 1.42-1.5 2.674-1.5Zm0-2c2.404 0 4.235 1.475 4.822 3.5H20V6H4v12h3.178c.587-2.025 2.418-3.5 4.822-3.5Zm-1.25-3.75a1.25 1.25 0 1 1 2.5 0 1.25 1.25 0 0 1-2.5 0ZM12 7.5a3.25 3.25 0 1 0 0 6.5 3.25 3.25 0 0 0 0-6.5Zm5.75 2a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z', }) diff --git a/src/screens/Onboarding/StepProfile/index.tsx b/src/screens/Onboarding/StepProfile/index.tsx index a144206394..77c18b2fc7 100644 --- a/src/screens/Onboarding/StepProfile/index.tsx +++ b/src/screens/Onboarding/StepProfile/index.tsx @@ -7,8 +7,7 @@ import {atoms as a, useTheme} from '#/alf' import {Button, ButtonText, ButtonIcon} from '#/components/Button' import {News2_Stroke2_Corner0_Rounded as News} from '#/components/icons/News2' import {Check_Stroke2_Corner0_Rounded as Check} from '#/components/icons/Check' -import {Growth_Stroke2_Corner0_Rounded as Growth} from '#/components/icons/Growth' -import {Trending2_Stroke2_Corner2_Rounded as Trending} from '#/components/icons/Trending2' +import {StreamingLive_Stroke2_Corner0_Rounded as StreamingLive} from '#/components/icons/StreamingLive' import {Text} from '#/components/Typography' import {useOnboardingDispatch} from '#/state/shell' import {Loader} from '#/components/Loader' @@ -22,6 +21,7 @@ import { } from '#/screens/Onboarding/Layout' import {IconCircle} from '#/screens/Onboarding/IconCircle' import {ChevronRight_Stroke2_Corner0_Rounded as ChevronRight} from '#/components/icons/Chevron' +import {StreamingLive_Stroke2_Corner0_Rounded} from '#/components/icons/StreamingLive' export function StepProfile() { const {_} = useLingui() @@ -41,7 +41,7 @@ export function StepProfile() { return ( - + <Trans>You're ready to go!</Trans> @@ -52,7 +52,11 @@ export function StepProfile() { <View style={[a.pt_5xl, a.gap_3xl]}> <View style={[a.flex_row, a.align_center, a.w_full, a.gap_lg]}> - <IconCircle icon={Growth} size="lg" style={{width: 48, height: 48}} /> + <IconCircle + icon={StreamingLive} + size="lg" + style={{width: 48, height: 48}} + /> <View style={[a.flex_1, a.gap_xs]}> <Text style={[a.font_bold, a.text_lg]}> <Trans>Public</Trans> @@ -78,11 +82,11 @@ export function StepProfile() { </View> </View> <View style={[a.flex_row, a.align_center, a.w_full, a.gap_lg]}> - <IconCircle - icon={Trending} - size="lg" - style={{width: 48, height: 48}} - /> + {/*<IconCircle*/} + {/* icon={Trending}*/} + {/* size="lg"*/} + {/* style={{width: 48, height: 48}}*/} + {/*/>*/} <View style={[a.flex_1, a.gap_xs]}> <Text style={[a.font_bold, a.text_lg]}> <Trans>Flexible</Trans>