Skip to content

Commit 2207839

Browse files
Nwagba OkechukwuNwagba Okechukwu
authored andcommitted
refactor: set background color of play button using white color from theme
1 parent d043c93 commit 2207839

File tree

1 file changed

+1
-2
lines changed
  • package/src/components/Attachment

1 file changed

+1
-2
lines changed

package/src/components/Attachment/Card.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ const styles = StyleSheet.create({
6767
},
6868
playButtonStyle: {
6969
alignItems: 'center',
70-
backgroundColor: '#fff',
7170
borderRadius: 50,
7271
elevation: 2,
7372
height: 36,
@@ -206,7 +205,7 @@ const CardWithContext = <
206205
style={[styles.cardCover, cover, stylesProp.cardCover]}
207206
>
208207
{isVideo ? (
209-
<View style={[styles.playButtonStyle, roundedView]}>
208+
<View style={[styles.playButtonStyle, roundedView, { backgroundColor: white }]}>
210209
<Play height={height} pathFill={pathFill} width={width} />
211210
</View>
212211
) : null}

0 commit comments

Comments
 (0)