Skip to content

Commit b98c5e7

Browse files
Nwagba OkechukwuNwagba Okechukwu
authored andcommitted
refactor: remove pathfill in playIcon theme and using theme black color in playIcon styl
1 parent 5f3d1d2 commit b98c5e7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package/src/components/Attachment/Card.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const CardWithContext = <
147147
cover,
148148
footer: { description, title: titleStyle, ...footerStyle },
149149
noURI,
150-
playIcon: { height, pathFill, width },
150+
playIcon: { height, width },
151151
},
152152
},
153153
},
@@ -206,7 +206,7 @@ const CardWithContext = <
206206
>
207207
{isVideo ? (
208208
<View style={[styles.playButtonStyle, roundedView, { backgroundColor: white }]}>
209-
<Play height={height} pathFill={pathFill} width={width} />
209+
<Play height={height} pathFill={black} width={width} />
210210
</View>
211211
) : null}
212212
</ImageBackground>

package/src/contexts/themeContext/utils/theme.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,6 @@ export const defaultTheme: Theme = {
862862
},
863863
playIcon: {
864864
height: 24,
865-
pathFill: '#000',
866865
width: 24,
867866
},
868867
},

0 commit comments

Comments
 (0)