mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-03 18:26:20 +00:00
Account color is a pro feature
This commit is contained in:
parent
15163fb1b0
commit
73d704d688
2 changed files with 28 additions and 27 deletions
|
@ -38,10 +38,10 @@ See also [this FAQ](https://github.com/M66B/open-source-email/blob/master/FAQ.md
|
|||
* Dark/black theme
|
||||
* Account colors
|
||||
* Multiple select
|
||||
* Standard replies
|
||||
* Reply templates
|
||||
* Sort on time, unread or starred
|
||||
* Search on server
|
||||
* Preview sender/subject in new messages status bar notification
|
||||
* Preview sender/subject/photo in new message notifications
|
||||
* Encryption/decryption ([OpenPGP](https://www.openpgp.org/))
|
||||
* Export settings
|
||||
|
||||
|
|
|
@ -508,7 +508,7 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
.addAction(actionArchive.build())
|
||||
.addAction(actionTrash.build());
|
||||
|
||||
if (pro)
|
||||
if (pro) {
|
||||
if (!TextUtils.isEmpty(message.subject))
|
||||
mbuilder.setContentText(message.subject);
|
||||
|
||||
|
@ -540,6 +540,7 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
|
||||
if (message.accountColor != null)
|
||||
mbuilder.setColor(message.accountColor);
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)
|
||||
mbuilder.setGroupAlertBehavior(Notification.GROUP_ALERT_CHILDREN);
|
||||
|
|
Loading…
Reference in a new issue