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
16
16
import com.facebook.react.bridge.WritableMap
17
17
import com.facebook.react.modules.core.ReactChoreographer
18
18
import com.facebook.react.views.imagehelper.ImageSource
19
- import com.facebook.react.views.imagehelper.ImageSource.Companion.getTransparentBitmapImageSource
20
19
import com.google.android.material.bottomnavigation.BottomNavigationView
21
20
22
21
@@ -100,14 +99,11 @@ class ReactBottomNavigationView(context: Context) : BottomNavigationView(context
100
99
101
100
for (idx in 0 until icons.size()) {
102
101
val source = icons.getMap(idx)
103
- var imageSource =
102
+ val imageSource =
104
103
ImageSource (
105
104
context,
106
105
source.getString(" uri" )
107
106
)
108
- if (Uri .EMPTY == imageSource.uri) {
109
- imageSource = getTransparentBitmapImageSource(context)
110
- }
111
107
this .icons[idx] = imageSource
112
108
113
109
// Update existing item if exists.
You can’t perform that action at this time.
0 commit comments