@onekeyfe/react-native-native-list 3.0.109 → 3.0.110

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.
@@ -939,6 +939,7 @@ internal class NativeListRowView(
939
939
  }
940
940
 
941
941
  private fun resetViews() {
942
+ clipChildren = true
942
943
  clipToPadding = true
943
944
  selectorOriginalFontFeatures.forEach { (view, original) -> view.fontFeatureSettings = original }
944
945
  selectorOriginalFontFeatures.clear()
@@ -2494,6 +2495,8 @@ internal class NativeListRowView(
2494
2495
  val visibleSources = sources.take(leadingImages.size)
2495
2496
  val tokenPair = kind == "token" && visibleSources.size > 1
2496
2497
  if (tokenPair) {
2498
+ // The network badge intentionally extends past the avatar frame.
2499
+ clipChildren = false
2497
2500
  leadingOverlayBackground.visibility = VISIBLE
2498
2501
  leadingOverlayBackground.background = roundedFill(visualBackdropColor, 10f)
2499
2502
  leadingOverlayBackground.layoutParams = FrameLayout.LayoutParams(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-native-list",
3
- "version": "3.0.109",
3
+ "version": "3.0.110",
4
4
  "description": "Template-driven native RecyclerView and UICollectionView for React Native",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/module/index.js",
@@ -82,7 +82,7 @@
82
82
  "typescript": "^5.9.2"
83
83
  },
84
84
  "peerDependencies": {
85
- "@onekeyfe/react-native-image": "3.0.109",
85
+ "@onekeyfe/react-native-image": "3.0.110",
86
86
  "react": "*",
87
87
  "react-native": "*",
88
88
  "react-native-nitro-modules": "0.37.0"