From 20ef1b8b7bd52eed8983a0232d42f3806a07fb00 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 25 May 2023 16:51:12 -0500 Subject: [PATCH] Add custom satellite-dish icons --- src/lib/icons.tsx | 76 +++++++++++++++++++++++++++++- src/view/shell/desktop/LeftNav.tsx | 14 +++--- 2 files changed, 83 insertions(+), 7 deletions(-) diff --git a/src/lib/icons.tsx b/src/lib/icons.tsx index 0c7b7512..47a38fb6 100644 --- a/src/lib/icons.tsx +++ b/src/lib/icons.tsx @@ -1,6 +1,6 @@ import React from 'react' import {StyleProp, TextStyle, ViewStyle} from 'react-native' -import Svg, {Path, Rect, Line, Ellipse} from 'react-native-svg' +import Svg, {Path, Rect, Line, Ellipse, Circle} from 'react-native-svg' export function GridIcon({ style, @@ -883,3 +883,77 @@ export function HandIcon({ ) } + +export function SatelliteDishIconSolid({ + style, + size, + strokeWidth = 1.5, +}: { + style?: StyleProp + size?: string | number + strokeWidth?: number +}) { + return ( + + + + + + + ) +} + +export function SatelliteDishIcon({ + style, + size, + strokeWidth = 1.5, +}: { + style?: StyleProp + size?: string | number + strokeWidth?: number +}) { + return ( + + + + + + + ) +} diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index 01cace15..e62b47ca 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -30,6 +30,8 @@ import { CogIconSolid, ComposeIcon2, HandIcon, + SatelliteDishIcon, + SatelliteDishIconSolid, } from 'lib/icons' import {getCurrentRoute, isTab, isStateAtTabRoot} from 'lib/routes/helpers' import {NavigationProp} from 'lib/routes/types' @@ -207,17 +209,17 @@ export const DesktopLeftNav = observer(function DesktopLeftNav() { } iconFilled={ - } label="My Feeds"