ソースを参照

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

andresesfm 6 年 前
コミット
5a75863580
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      lib/android/app/src/main/java/com/reactnativenavigation/utils/ImageLoader.java

+ 1
- 1
lib/android/app/src/main/java/com/reactnativenavigation/utils/ImageLoader.java ファイルの表示

@@ -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