mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +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…
x
Reference in New Issue
Block a user