Skip to content

Commit

Permalink
make the notification expandable to read the full translation
Browse files Browse the repository at this point in the history
  • Loading branch information
ramack committed Oct 25, 2019
1 parent 387f628 commit ac7e7a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/org/piwigo/helper/NotificationHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public void sendNotification(String title, String body, Context context)
.setContentText(body)
.setAutoCancel(true)
.setSound(sound)
.setContentIntent(pi);
.setContentIntent(pi)
.setStyle(new NotificationCompat.BigTextStyle().bigText(body));

NotificationManager manager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);

Expand Down

0 comments on commit ac7e7a2

Please sign in to comment.