mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
Use Signal's language for media preview timestamp
Fixes #3449 Closes #5600 // FREEBIE
This commit is contained in:
parent
09ff8d5865
commit
3136cadf59
@ -103,9 +103,7 @@ public class MediaPreviewActivity extends PassphraseRequiredActionBarActivity im
|
||||
private void initializeActionBar() {
|
||||
final CharSequence relativeTimeSpan;
|
||||
if (date > 0) {
|
||||
relativeTimeSpan = DateUtils.getRelativeTimeSpanString(date,
|
||||
System.currentTimeMillis(),
|
||||
DateUtils.MINUTE_IN_MILLIS);
|
||||
relativeTimeSpan = DateUtils.getExtendedRelativeTimeSpanString(this,dynamicLanguage.getCurrentLocale(),date);
|
||||
} else {
|
||||
relativeTimeSpan = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user