diff --git a/res/layout/about_person_list_item_entry.xml b/res/layout/about_person_list_item_entry.xml index 54fd627b..b1242688 100644 --- a/res/layout/about_person_list_item_entry.xml +++ b/res/layout/about_person_list_item_entry.xml @@ -56,16 +56,4 @@ app:tint="@color/text_color" tools:visibility="visible" /> - diff --git a/src/org/kde/kdeconnect/UserInterface/About/AboutPersonEntryItem.kt b/src/org/kde/kdeconnect/UserInterface/About/AboutPersonEntryItem.kt index d7489def..26a57ec4 100644 --- a/src/org/kde/kdeconnect/UserInterface/About/AboutPersonEntryItem.kt +++ b/src/org/kde/kdeconnect/UserInterface/About/AboutPersonEntryItem.kt @@ -27,14 +27,6 @@ class AboutPersonEntryItem(val person: AboutPerson) : ListAdapter.Item { binding.aboutPersonListItemEntryTask.text = layoutInflater.context.getString(person.task) } - if (person.emailAddress != null) { - binding.aboutPersonListItemEntryEmailButton.visibility = View.VISIBLE - TooltipCompat.setTooltipText(binding.aboutPersonListItemEntryEmailButton, layoutInflater.context.getString(R.string.email_contributor, person.emailAddress)) - binding.aboutPersonListItemEntryEmailButton.setOnClickListener { - layoutInflater.context.startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("mailto:" + person.emailAddress))) - } - } - if (person.webAddress != null) { binding.aboutPersonListItemEntryVisitHomepageButton.visibility = View.VISIBLE TooltipCompat.setTooltipText(binding.aboutPersonListItemEntryVisitHomepageButton, layoutInflater.context.resources.getString(R.string.visit_contributors_homepage, person.webAddress))