Commit 1ddf0401 by Sebastián Katzer

Fixed bug in getType

parent 9dd5e06f
...@@ -156,7 +156,7 @@ public class Notification { ...@@ -156,7 +156,7 @@ public class Notification {
* Notification type can be one of pending or scheduled. * Notification type can be one of pending or scheduled.
*/ */
public Type getType () { public Type getType () {
return isTriggered() ? Type.TRIGGERED : Type.SCHEDULED; return isScheduled() ? Type.SCHEDULED : Type.TRIGGERED;
} }
/** /**
......
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