mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
gallery should show sender, not groupname #206
This commit is contained in:
@@ -147,8 +147,10 @@ public class MediaPreviewActivity extends PassphraseRequiredActionBarActivity
|
||||
}
|
||||
|
||||
if (mediaItem.outgoing) getSupportActionBar().setTitle(getString(R.string.self));
|
||||
else if (mediaItem.recipient != null) getSupportActionBar().setTitle(mediaItem.recipient.toShortString());
|
||||
else getSupportActionBar().setTitle("");
|
||||
else {
|
||||
int fromId = dcContext.getMsg(mediaItem.msgId).getFromId();
|
||||
getSupportActionBar().setTitle(dcContext.getContact(fromId).getDisplayName());
|
||||
}
|
||||
|
||||
getSupportActionBar().setSubtitle(relativeTimeSpan);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user