mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Small notification improvement
This commit is contained in:
parent
4dd6e1e96c
commit
27a7c4e86b
1 changed files with 3 additions and 4 deletions
|
@ -4583,10 +4583,9 @@ class Core {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
if (!TextUtils.isEmpty(message.subject))
|
if (!TextUtils.isEmpty(message.subject))
|
||||||
sb.append(message.subject);
|
sb.append(message.subject);
|
||||||
if (wearable_preview) {
|
if (wearable_preview && !TextUtils.isEmpty(preview)) {
|
||||||
if (sb.length() != 0)
|
if (sb.length() > 0)
|
||||||
sb.append(" - ");
|
sb.append(" - ");
|
||||||
if (!TextUtils.isEmpty(preview))
|
|
||||||
sb.append(preview);
|
sb.append(preview);
|
||||||
}
|
}
|
||||||
if (sb.length() > 0)
|
if (sb.length() > 0)
|
||||||
|
|
Loading…
Reference in a new issue