Browse Source

Fix: Bottom Nav Icons disappear when getting a CodePush (#2931)

andresesfm 6 years ago
parent
commit
5a75863580

+ 1
- 1
lib/android/app/src/main/java/com/reactnativenavigation/utils/ImageLoader.java View File

@@ -63,7 +63,7 @@ public class ImageLoader {
63 63
     }
64 64
 
65 65
     private Drawable loadFile(String uri) {
66
-        Bitmap bitmap = BitmapFactory.decodeFile(uri);
66
+        Bitmap bitmap = BitmapFactory.decodeFile(Uri.parse(uri).getPath());
67 67
         return new BitmapDrawable(NavigationApplication.instance.getResources(), bitmap);
68 68
     }
69 69