Fix one more place where Note to Self should be used.

Closes #12321
This commit is contained in:
Sgn-32 2022-06-29 22:42:58 +02:00 committed by Greyson Parrelli
parent 9d8e9a3a14
commit f8d459829e

View file

@ -97,7 +97,9 @@ public class ChatWallpaperPreviewActivity extends PassphraseRequiredActivity {
final ChatColors chatColors; final ChatColors chatColors;
if (recipientId != null && Recipient.live(recipientId).get().hasOwnChatColors()) { if (recipientId != null && Recipient.live(recipientId).get().hasOwnChatColors()) {
Recipient recipient = Recipient.live(recipientId).get(); Recipient recipient = Recipient.live(recipientId).get();
bubble2Text.setText(getString(R.string.ChatWallpaperPreviewActivity__set_wallpaper_for_s, recipient.getDisplayName(this))); bubble2Text.setText(getString(R.string.ChatWallpaperPreviewActivity__set_wallpaper_for_s,
recipient.isSelf() ? getString(R.string.note_to_self)
: recipient.getDisplayName(this)));
chatColors = recipient.getChatColors(); chatColors = recipient.getChatColors();
bubble2.addOnLayoutChangeListener((v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom) -> { bubble2.addOnLayoutChangeListener((v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom) -> {
updateChatColors(chatColors); updateChatColors(chatColors);