react-native-timeline-flatlist icon indicating copy to clipboard operation
react-native-timeline-flatlist copied to clipboard

I think it's a circle, but it's not a circle

Open yinminqian opened this issue 5 months ago • 0 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-timeline-flatlist/lib/index.js b/node_modules/react-native-timeline-flatlist/lib/index.js
index 9a453c4..05c7f61 100644
--- a/node_modules/react-native-timeline-flatlist/lib/index.js
+++ b/node_modules/react-native-timeline-flatlist/lib/index.js
@@ -369,7 +369,7 @@ export default class Timeline extends PureComponent {
         let dotStyle = {
           height: dotSize,
           width: dotSize,
-          borderRadius: circleSize / 4,
+          borderRadius: circleSize / 2,
           backgroundColor: rowData.dotColor
             ? rowData.dotColor
             : this.props.dotColor

This issue body was partially generated by patch-package.

yinminqian avatar Sep 10 '24 07:09 yinminqian