mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Remove Message Requests feature flag.
This commit is contained in:
committed by
Greyson Parrelli
parent
f2fe81d9b5
commit
3d7cffef2b
@@ -389,15 +389,15 @@ final class MediaGalleryAllAdapter extends StickyHeaderGridAdapter {
|
||||
|
||||
if (showThread && (from.isLocalNumber() || thread.isGroup())) {
|
||||
if (from.isLocalNumber()) {
|
||||
return context.getString(R.string.MediaOverviewActivity_sent_by_you_to_s, thread.toShortString(context));
|
||||
return context.getString(R.string.MediaOverviewActivity_sent_by_you_to_s, thread.getDisplayName(context));
|
||||
} else {
|
||||
return context.getString(R.string.MediaOverviewActivity_sent_by_s_to_s, from.toShortString(context), thread.toShortString(context));
|
||||
return context.getString(R.string.MediaOverviewActivity_sent_by_s_to_s, from.getDisplayName(context), thread.getDisplayName(context));
|
||||
}
|
||||
} else {
|
||||
if (from.isLocalNumber()) {
|
||||
return context.getString(R.string.MediaOverviewActivity_sent_by_you);
|
||||
} else {
|
||||
return context.getString(R.string.MediaOverviewActivity_sent_by_s, from.toShortString(context));
|
||||
return context.getString(R.string.MediaOverviewActivity_sent_by_s, from.getDisplayName(context));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -200,8 +200,8 @@ public final class MediaOverviewActivity extends PassphraseRequiredActionBarActi
|
||||
SimpleTask.run(() -> DatabaseFactory.getThreadDatabase(this).getRecipientForThreadId(threadId),
|
||||
(recipient) -> {
|
||||
if (recipient != null) {
|
||||
getSupportActionBar().setTitle(recipient.toShortString(this));
|
||||
recipient.live().observe(this, r -> getSupportActionBar().setTitle(r.toShortString(this)));
|
||||
getSupportActionBar().setTitle(recipient.getDisplayName(this));
|
||||
recipient.live().observe(this, r -> getSupportActionBar().setTitle(r.getDisplayName(this)));
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user