react-native-advanced-text 0.1.40 → 0.1.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -325,8 +325,7 @@ class AdvancedTextView : TextView {
325
325
  totalPaddingLeft + right + horizontalPadding,
326
326
  totalPaddingTop + bottom - verticalPadding
327
327
  )
328
- val radius = 4f * density
329
- canvas.drawRoundRect(rect, radius, radius, paint)
328
+ canvas.drawRoundRect(rect, 0f, 0f, paint)
330
329
  }
331
330
  }
332
331
  }
@@ -539,7 +539,7 @@ using namespace facebook::react;
539
539
  adjustedRect.origin.y += textView.textContainerInset.top;
540
540
 
541
541
  UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:adjustedRect
542
- cornerRadius:4.0];
542
+ cornerRadius:0.0];
543
543
  [path fill];
544
544
  }];
545
545
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-advanced-text",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "description": " Advanced text component for React Native with custom select options.",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",