From 81fdbbe727ec0e192531edd08d6dc0ee7fbfe87e Mon Sep 17 00:00:00 2001 From: cketti Date: Tue, 10 Oct 2023 19:05:48 +0200 Subject: [PATCH] Remove Twitter from about screen --- .../com/fsck/k9/ui/settings/AboutFragment.kt | 5 --- .../src/main/res/drawable/ic_twitter.xml | 10 ----- .../src/main/res/layout/fragment_about.xml | 40 ------------------- app/ui/legacy/src/main/res/values/attrs.xml | 1 - .../legacy/src/main/res/values/constants.xml | 2 - app/ui/legacy/src/main/res/values/strings.xml | 1 - app/ui/legacy/src/main/res/values/themes.xml | 2 - 7 files changed, 61 deletions(-) delete mode 100644 app/ui/legacy/src/main/res/drawable/ic_twitter.xml diff --git a/app/ui/legacy/src/main/java/com/fsck/k9/ui/settings/AboutFragment.kt b/app/ui/legacy/src/main/java/com/fsck/k9/ui/settings/AboutFragment.kt index 4fe1edcde68..aaa11782d8f 100644 --- a/app/ui/legacy/src/main/java/com/fsck/k9/ui/settings/AboutFragment.kt +++ b/app/ui/legacy/src/main/java/com/fsck/k9/ui/settings/AboutFragment.kt @@ -62,11 +62,6 @@ class AboutFragment : Fragment() { openUrl(getString(R.string.fediverse_url)) } - val twitterLayout = view.findViewById(R.id.twitterLayout) - twitterLayout.setOnClickListener { - openUrl(getString(R.string.twitter_url)) - } - val manager = LinearLayoutManager(view.context) val librariesRecyclerView = view.findViewById(R.id.libraries) librariesRecyclerView.apply { diff --git a/app/ui/legacy/src/main/res/drawable/ic_twitter.xml b/app/ui/legacy/src/main/res/drawable/ic_twitter.xml deleted file mode 100644 index 07d3a117e15..00000000000 --- a/app/ui/legacy/src/main/res/drawable/ic_twitter.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/ui/legacy/src/main/res/layout/fragment_about.xml b/app/ui/legacy/src/main/res/layout/fragment_about.xml index 8292c82dd02..20a0fc43d76 100644 --- a/app/ui/legacy/src/main/res/layout/fragment_about.xml +++ b/app/ui/legacy/src/main/res/layout/fragment_about.xml @@ -320,46 +320,6 @@ - - - - - - - - - - - - - diff --git a/app/ui/legacy/src/main/res/values/constants.xml b/app/ui/legacy/src/main/res/values/constants.xml index 14b6ff81c11..b6727047129 100644 --- a/app/ui/legacy/src/main/res/values/constants.xml +++ b/app/ui/legacy/src/main/res/values/constants.xml @@ -9,6 +9,4 @@ https://www.apache.org/licenses/LICENSE-2.0 \@k9mail@fosstodon.org https://fosstodon.org/@k9mail - \@k9mail_app - https://twitter.com/k9mail_app diff --git a/app/ui/legacy/src/main/res/values/strings.xml b/app/ui/legacy/src/main/res/values/strings.xml index 9704c81b100..d44122562ce 100644 --- a/app/ui/legacy/src/main/res/values/strings.xml +++ b/app/ui/legacy/src/main/res/values/strings.xml @@ -21,7 +21,6 @@ Get help User forum Fediverse - Twitter Libraries License Changelog diff --git a/app/ui/legacy/src/main/res/values/themes.xml b/app/ui/legacy/src/main/res/values/themes.xml index 58dba5008d7..8d810453dbb 100644 --- a/app/ui/legacy/src/main/res/values/themes.xml +++ b/app/ui/legacy/src/main/res/values/themes.xml @@ -149,7 +149,6 @@ @drawable/ic_open_book @drawable/ic_help @drawable/ic_mastodon - @drawable/ic_twitter @drawable/ic_visibility #000 @@ -315,7 +314,6 @@ @drawable/ic_open_book @drawable/ic_help @drawable/ic_mastodon - @drawable/ic_twitter @drawable/ic_visibility #fff