mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Update icons across home screen and settings screen.
This commit is contained in:
committed by
Cody Henthorne
parent
011c85c75b
commit
c3c8f8e7e6
@@ -143,7 +143,7 @@ public class EditAboutFragment extends Fragment implements ManageProfileActivity
|
||||
this.emojiView.setImageDrawable(drawable);
|
||||
this.selectedEmoji = emoji;
|
||||
} else {
|
||||
this.emojiView.setImageResource(R.drawable.ic_add_emoji);
|
||||
this.emojiView.setImageResource(R.drawable.symbol_emoji_plus_24);
|
||||
this.selectedEmoji = "";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -238,14 +238,14 @@ public class ManageProfileFragment extends LoggingFragment {
|
||||
|
||||
private void presentAboutEmoji(@NonNull String aboutEmoji) {
|
||||
if (aboutEmoji == null || aboutEmoji.isEmpty()) {
|
||||
binding.manageProfileAboutIcon.setImageDrawable(ResourcesCompat.getDrawable(getResources(), R.drawable.ic_compose_24, null));
|
||||
binding.manageProfileAboutIcon.setImageDrawable(ResourcesCompat.getDrawable(getResources(), R.drawable.symbol_edit_24, null));
|
||||
} else {
|
||||
Drawable emoji = EmojiUtil.convertToDrawable(requireContext(), aboutEmoji);
|
||||
|
||||
if (emoji != null) {
|
||||
binding.manageProfileAboutIcon.setImageDrawable(emoji);
|
||||
} else {
|
||||
binding.manageProfileAboutIcon.setImageDrawable(ResourcesCompat.getDrawable(getResources(), R.drawable.ic_compose_24, null));
|
||||
binding.manageProfileAboutIcon.setImageDrawable(ResourcesCompat.getDrawable(getResources(), R.drawable.symbol_edit_24, null));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user