1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-20 21:27:07 +00:00

Big text style for announcements

This commit is contained in:
M66B 2023-01-09 08:01:44 +01:00
parent 72d0aad653
commit 30b25990ea

View file

@ -1863,7 +1863,9 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
.setShowWhen(true)
.setPriority(NotificationCompat.PRIORITY_DEFAULT)
.setCategory(NotificationCompat.CATEGORY_RECOMMENDATION)
.setVisibility(NotificationCompat.VISIBILITY_SECRET);
.setVisibility(NotificationCompat.VISIBILITY_SECRET)
.setStyle(new NotificationCompat.BigTextStyle()
.bigText(announcement.text));
if (announcement.link != null) {
Intent update = new Intent(Intent.ACTION_VIEW, announcement.link)