From f8d459829eb440a014bf9294cb432cdfc6b5e9da Mon Sep 17 00:00:00 2001 From: Sgn-32 <49990901+Sgn-32@users.noreply.github.com> Date: Wed, 29 Jun 2022 22:42:58 +0200 Subject: [PATCH] Fix one more place where Note to Self should be used. Closes #12321 --- .../securesms/wallpaper/ChatWallpaperPreviewActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/wallpaper/ChatWallpaperPreviewActivity.java b/app/src/main/java/org/thoughtcrime/securesms/wallpaper/ChatWallpaperPreviewActivity.java index 2a26bb0abb8..876e3cb4480 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/wallpaper/ChatWallpaperPreviewActivity.java +++ b/app/src/main/java/org/thoughtcrime/securesms/wallpaper/ChatWallpaperPreviewActivity.java @@ -97,7 +97,9 @@ protected void onCreate(Bundle savedInstanceState, boolean ready) { final ChatColors chatColors; if (recipientId != null && Recipient.live(recipientId).get().hasOwnChatColors()) { 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(); bubble2.addOnLayoutChangeListener((v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom) -> { updateChatColors(chatColors);