Skip to content

Commit f8ff2fe

Browse files
committed
fix replies curve on Android
1 parent 4763b8a commit f8ff2fe

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/components/Message/MessageSimple/MessageReplies.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react';
22
import {
33
ColorValue,
4+
Platform,
45
StyleSheet,
56
Text,
67
TouchableOpacity,
@@ -44,6 +45,11 @@ const styles = StyleSheet.create({
4445
leftMessageRepliesCurve: {
4546
borderBottomLeftRadius: 16,
4647
borderRightColor: 'transparent',
48+
...Platform.select({
49+
android: {
50+
borderRightWidth: 0,
51+
},
52+
}),
4753
},
4854
messageRepliesCurve: {
4955
borderTopColor: 'transparent',
@@ -61,6 +67,11 @@ const styles = StyleSheet.create({
6167
rightMessageRepliesCurve: {
6268
borderBottomRightRadius: 16,
6369
borderLeftColor: 'transparent',
70+
...Platform.select({
71+
android: {
72+
borderLeftWidth: 0,
73+
},
74+
}),
6475
},
6576
});
6677

0 commit comments

Comments
 (0)