Use big style for foreground notification
This commit is contained in:
@@ -77,6 +77,7 @@ public class PushService extends Service {
|
|||||||
.setContentTitle("Gotify")
|
.setContentTitle("Gotify")
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.setPriority(Notification.PRIORITY_MIN)
|
.setPriority(Notification.PRIORITY_MIN)
|
||||||
|
.setStyle(new NotificationCompat.BigTextStyle().bigText(message))
|
||||||
.setContentText(message)
|
.setContentText(message)
|
||||||
.setContentIntent(pendingIntent).build();
|
.setContentIntent(pendingIntent).build();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user