Commit 1782bf17 authored by Vincent Thelang's avatar Vincent Thelang Committed by Libin Lu

large-icon -> large_icon (#269)

parent d799b1bc
...@@ -112,7 +112,7 @@ public class FIRLocalMessagingHelper { ...@@ -112,7 +112,7 @@ public class FIRLocalMessagingHelper {
notification.setSmallIcon(smallIconResId); notification.setSmallIcon(smallIconResId);
//large icon //large icon
String largeIcon = bundle.getString("large-icon"); String largeIcon = bundle.getString("large_icon");
if(largeIcon != null && android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP){ if(largeIcon != null && android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP){
if (largeIcon.startsWith("http://") || largeIcon.startsWith("https://")) { if (largeIcon.startsWith("http://") || largeIcon.startsWith("https://")) {
Bitmap bitmap = getBitmapFromURL(largeIcon); Bitmap bitmap = getBitmapFromURL(largeIcon);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment