aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications/src/main/java/com/juick/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-03-27 02:14:40 +0300
committerGravatar Vitaly Takmazov2017-03-27 02:14:40 +0300
commit31eb48182cb9b2382996671c884c52cffe683fa3 (patch)
tree6ffbd1579f145ac2d037944e1b95a091138f7d15 /juick-notifications/src/main/java/com/juick/components
parentf6ca9687309621dab6c381a078a6d19645b3a15f (diff)
juick-notifications: fix typo
Diffstat (limited to 'juick-notifications/src/main/java/com/juick/components')
-rw-r--r--juick-notifications/src/main/java/com/juick/components/Notifications.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/Notifications.java b/juick-notifications/src/main/java/com/juick/components/Notifications.java
index e7adac74..00f63136 100644
--- a/juick-notifications/src/main/java/com/juick/components/Notifications.java
+++ b/juick-notifications/src/main/java/com/juick/components/Notifications.java
@@ -203,7 +203,7 @@ public class Notifications implements AutoCloseable {
}
/*** iOS ***/
- List<String> tokens = tokensList.stream().filter(t -> t.getType().equals("mpns"))
+ List<String> tokens = tokensList.stream().filter(t -> t.getType().equals("apns"))
.flatMap(t -> t.getTokens().stream()).collect(Collectors.toList());
if (!tokens.isEmpty()) {
for (String token : tokens) {