display subject bold in expanded notification

pull/148/head
Unpublished 7 years ago
parent 6e48cbf56b
commit 5a2393e664

@ -687,7 +687,7 @@ public class ServiceSynchronize extends LifecycleService {
String body = Helper.readText(EntityMessage.getFile(this, message.id));
StringBuilder sb = new StringBuilder();
if (!TextUtils.isEmpty(message.subject))
sb.append(message.subject).append("<br>");
sb.append("<b>").append(message.subject).append("</b>").append("<br>");
sb.append(HtmlHelper.getPreview(body));
mbuilder.setStyle(new Notification.BigTextStyle().bigText(HtmlHelper.fromHtml(sb.toString())));
} catch (IOException ex) {

Loading…
Cancel
Save