fix(notifications): Fix alertOnlyOnce in android notifications

This commit is contained in:
Pranjal Jain 2018-07-29 06:25:08 +05:30
parent f3e0d06608
commit 1d1a56ad3e
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ public class DisplayNotificationTask extends AsyncTask<Void, Void, Void> {
nb = nb.setOngoing(android.getBoolean("ongoing"));
}
if (android.containsKey("onlyAlertOnce")) {
nb = nb.setOngoing(android.getBoolean("onlyAlertOnce"));
nb = nb.setOnlyAlertOnce(android.getBoolean("onlyAlertOnce"));
}
if (android.containsKey("people")) {
List<String> people = android.getStringArrayList("people");