Commit 4ffc3526 by Sebastián Katzer

Support for new title property under Android

parent fe2116db
...@@ -86,7 +86,7 @@ public class LocalNotificationOptions { ...@@ -86,7 +86,7 @@ public class LocalNotificationOptions {
* Gibt den Titel der Notification an. * Gibt den Titel der Notification an.
*/ */
public String getTitle () { public String getTitle () {
return getMessage().split("\\r?\\n")[0]; return options.optString("title");
} }
/** /**
......
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