mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 01:06:11 +00:00
TTS time
This commit is contained in:
parent
15b0289fd5
commit
10101ae72a
1 changed files with 5 additions and 0 deletions
|
@ -3658,6 +3658,11 @@ public class FragmentMessages extends FragmentBase
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
|
||||||
|
if (message.received != null) {
|
||||||
|
DateFormat DF = Helper.getDateTimeInstance(context, SimpleDateFormat.SHORT, SimpleDateFormat.SHORT);
|
||||||
|
sb.append(DF.format(message.received)).append(". ");
|
||||||
|
}
|
||||||
|
|
||||||
if (message.from != null && message.from.length > 0)
|
if (message.from != null && message.from.length > 0)
|
||||||
sb.append(context.getString(R.string.title_rule_tts_from))
|
sb.append(context.getString(R.string.title_rule_tts_from))
|
||||||
.append(' ').append(MessageHelper.formatAddressesShort(message.from)).append(". ");
|
.append(' ').append(MessageHelper.formatAddressesShort(message.from)).append(". ");
|
||||||
|
|
Loading…
Reference in a new issue