mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Small improvement
This commit is contained in:
parent
6093b18c19
commit
3fc182caf8
1 changed files with 7 additions and 3 deletions
|
@ -128,12 +128,16 @@ public class WidgetUnifiedRemoteViewsFactory implements RemoteViewsService.Remot
|
|||
thread.putExtra("id", message.id);
|
||||
views.setOnClickFillInIntent(R.id.llMessage, thread);
|
||||
|
||||
SpannableString ssFrom = new SpannableString(MessageHelper.formatAddressesShort(message.from));
|
||||
SpannableString ssTime = new SpannableString(Helper.getRelativeTimeSpanString(context, message.received));
|
||||
SpannableString ssFrom = new SpannableString(pro
|
||||
? MessageHelper.formatAddressesShort(message.from)
|
||||
: context.getString(R.string.title_pro_feature));
|
||||
SpannableString ssTime = new SpannableString(
|
||||
Helper.getRelativeTimeSpanString(context, message.received));
|
||||
SpannableString ssSubject = new SpannableString(pro
|
||||
? TextUtils.isEmpty(message.subject) ? "" : message.subject
|
||||
: context.getString(R.string.title_pro_feature));
|
||||
SpannableString ssAccount = new SpannableString(TextUtils.isEmpty(message.accountName) ? "" : message.accountName);
|
||||
SpannableString ssAccount = new SpannableString(
|
||||
TextUtils.isEmpty(message.accountName) ? "" : message.accountName);
|
||||
|
||||
if (message.ui_seen) {
|
||||
if (subject_italic)
|
||||
|
|
Loading…
Reference in a new issue