mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 06:31:17 +00:00
Small notification improvement
This commit is contained in:
parent
4dd6e1e96c
commit
27a7c4e86b
1 changed files with 3 additions and 4 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue