mirror of https://github.com/M66B/FairEmail.git
Notification subject instead of message preview italic
This commit is contained in:
parent
6c00f48a12
commit
b46b85f621
|
@ -3094,10 +3094,10 @@ class Core {
|
||||||
// Device
|
// Device
|
||||||
StringBuilder sbm = new StringBuilder();
|
StringBuilder sbm = new StringBuilder();
|
||||||
if (!TextUtils.isEmpty(message.subject))
|
if (!TextUtils.isEmpty(message.subject))
|
||||||
sbm.append(message.subject).append("<br>");
|
sbm.append("<em>").append(message.subject).append("</em>").append("<br>");
|
||||||
|
|
||||||
if (!TextUtils.isEmpty(message.preview))
|
if (!TextUtils.isEmpty(message.preview))
|
||||||
sbm.append("<em>").append(message.preview).append("</em>");
|
sbm.append(message.preview);
|
||||||
|
|
||||||
NotificationCompat.BigTextStyle bigText = new NotificationCompat.BigTextStyle()
|
NotificationCompat.BigTextStyle bigText = new NotificationCompat.BigTextStyle()
|
||||||
.bigText(HtmlHelper.fromHtml(sbm.toString()));
|
.bigText(HtmlHelper.fromHtml(sbm.toString()));
|
||||||
|
|
Loading…
Reference in New Issue