File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
android/src/main/java/com/rcttabview Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import com.facebook.react.bridge.ReadableArray
1616import com.facebook.react.bridge.WritableMap
1717import com.facebook.react.modules.core.ReactChoreographer
1818import com.facebook.react.views.imagehelper.ImageSource
19- import com.facebook.react.views.imagehelper.ImageSource.Companion.getTransparentBitmapImageSource
2019import com.google.android.material.bottomnavigation.BottomNavigationView
2120
2221
@@ -100,14 +99,11 @@ class ReactBottomNavigationView(context: Context) : BottomNavigationView(context
10099
101100 for (idx in 0 until icons.size()) {
102101 val source = icons.getMap(idx)
103- var imageSource =
102+ val imageSource =
104103 ImageSource (
105104 context,
106105 source.getString(" uri" )
107106 )
108- if (Uri .EMPTY == imageSource.uri) {
109- imageSource = getTransparentBitmapImageSource(context)
110- }
111107 this .icons[idx] = imageSource
112108
113109 // Update existing item if exists.
You can’t perform that action at this time.
0 commit comments