Skip to content

Commit

Permalink
Merge pull request #49 from caffeinalab/hotfix/force-show-false-bug
Browse files Browse the repository at this point in the history
Fixed force_show_in_foreground parameter when set to false
  • Loading branch information
hansemannn authored Feb 2, 2019
2 parents e0dbfd8 + 5a9b0a2 commit 3ce5abc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private Boolean showNotification(RemoteMessage remoteMessage)
}

if (params.get("force_show_in_foreground") != null && params.get("force_show_in_foreground") != "") {
showNotification = TiConvert.toBoolean(params.get("force_show_in_foreground"), false);
showNotification = showNotification || TiConvert.toBoolean(params.get("force_show_in_foreground"), false);
}

if (params.get("title") == null && params.get("message") == null && params.get("big_text") == null
Expand Down

0 comments on commit 3ce5abc

Please sign in to comment.