Skip to content

Commit

Permalink
Fix one more place where Note to Self should be used.
Browse files Browse the repository at this point in the history
Closes #12321
  • Loading branch information
Sgn-32 authored and greyson-signal committed Jul 5, 2022
1 parent 9d8e9a3 commit f8d4598
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -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);
Expand Down

0 comments on commit f8d4598

Please sign in to comment.