mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-18 06:53:35 +02:00
Small notification improvement
This commit is contained in:
@@ -4583,11 +4583,10 @@ class Core {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
if (!TextUtils.isEmpty(message.subject))
|
||||
sb.append(message.subject);
|
||||
if (wearable_preview) {
|
||||
if (sb.length() != 0)
|
||||
if (wearable_preview && !TextUtils.isEmpty(preview)) {
|
||||
if (sb.length() > 0)
|
||||
sb.append(" - ");
|
||||
if (!TextUtils.isEmpty(preview))
|
||||
sb.append(preview);
|
||||
sb.append(preview);
|
||||
}
|
||||
if (sb.length() > 0)
|
||||
mbuilder.setContentText(sb.toString());
|
||||
|
||||
Reference in New Issue
Block a user