From 906e3043cc7e1ade0b66675cf49594407cb5397b Mon Sep 17 00:00:00 2001 From: Arne Date: Tue, 28 Jan 2025 10:06:16 +0100 Subject: [PATCH] Fix invisible icon --- .../eu/siacs/conversations/ui/ContactDetailsActivity.java | 4 ++-- src/main/res/drawable/outline_circle_24.xml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 src/main/res/drawable/outline_circle_24.xml diff --git a/src/main/java/eu/siacs/conversations/ui/ContactDetailsActivity.java b/src/main/java/eu/siacs/conversations/ui/ContactDetailsActivity.java index b6f59648e..5529138b1 100644 --- a/src/main/java/eu/siacs/conversations/ui/ContactDetailsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ContactDetailsActivity.java @@ -850,7 +850,7 @@ public class ContactDetailsActivity extends OmemoActivity implements OnAccountUp binding.command.setCompoundDrawablesRelativeWithIntrinsicBounds(getDrawable(R.drawable.ic_chat_black_24dp), null, null, null); binding.command.setCompoundDrawablePadding(20); } else if (item.getName().equals("url")) { - binding.command.setCompoundDrawablesRelativeWithIntrinsicBounds(getDrawable(R.drawable.ic_link_24dp), null, null, null); + binding.command.setCompoundDrawablesRelativeWithIntrinsicBounds(getDrawable(R.drawable.outline_circle_24), null, null, null); binding.command.setCompoundDrawablePadding(20); } @@ -898,7 +898,7 @@ public class ContactDetailsActivity extends OmemoActivity implements OnAccountUp binding.command.setCompoundDrawablePadding(20); } else if (uri.getScheme().equals("http") || uri.getScheme().equals("https")) { binding.command.setText(uri.toString()); - binding.command.setCompoundDrawablesRelativeWithIntrinsicBounds(getDrawable(R.drawable.ic_link_24dp), null, null, null); + binding.command.setCompoundDrawablesRelativeWithIntrinsicBounds(getDrawable(R.drawable.outline_circle_24), null, null, null); binding.command.setCompoundDrawablePadding(20); } else { binding.command.setText(uri.toString()); diff --git a/src/main/res/drawable/outline_circle_24.xml b/src/main/res/drawable/outline_circle_24.xml new file mode 100644 index 000000000..713804c57 --- /dev/null +++ b/src/main/res/drawable/outline_circle_24.xml @@ -0,0 +1,5 @@ + + + + +