File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
contexts/themeContext/utils Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,6 @@ export type Theme = {
206206 textContainer : ViewStyle ;
207207 timestamp : ViewStyle ;
208208 } ;
209- colors : typeof Colors ;
210209 channelPreview : {
211210 container : ViewStyle ;
212211 contentContainer : ViewStyle ;
@@ -1172,7 +1171,6 @@ export const defaultTheme: Theme = {
11721171 subtitle : { } ,
11731172 } ,
11741173 } ,
1175- colors : Colors ,
11761174 dateHeader : {
11771175 container : { } ,
11781176 text : { } ,
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import Svg , { Path , PathProps , SvgProps } from 'react-native-svg' ;
33
4- import { useTheme } from '../../contexts/themeContext/ThemeContext' ;
5-
64export type IconProps = Partial < SvgProps > &
75 Omit < RootPathProps , 'd' > & {
86 height ?: number ;
@@ -32,13 +30,7 @@ export type RootPathProps = Pick<PathProps, 'd'> & {
3230} ;
3331
3432export const RootPath = ( props : RootPathProps ) => {
35- const {
36- theme : {
37- colors : { black } ,
38- } ,
39- } = useTheme ( ) ;
40-
41- const { d, pathFill = black , pathOpacity } = props ;
33+ const { d, pathFill = 'black' , pathOpacity } = props ;
4234 return (
4335 < Path
4436 { ...{
You can’t perform that action at this time.
0 commit comments