Skip to content

Commit

Permalink
set push title to empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
sayadaazami committed Apr 26, 2017
1 parent d726f6d commit af95d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sly/NotificationPusher/Adapter/Apns.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private function getOpenedFeedbackClient()
public function getServiceMessageFromOrigin(BaseOptionedModel $message)
{
$options = $message->getOptions();
$alert = Alert::create()->setTitle($message->getText());
$alert = Alert::create()->setTitle('');
$alert = $alert->setBody($message->getText());

$payload = Payload::create()->setAlert($alert);
Expand Down

0 comments on commit af95d75

Please sign in to comment.