Removed Twitter from navigation drawer (bitfireAT/davx5#312)

Signed-off-by: Arnau Mora <arnyminerz@proton.me>
This commit is contained in:
Arnau Mora 2023-06-25 10:58:19 +02:00 committed by Ricki Hirner
parent 837fcc7805
commit 3ba463dbd4
No known key found for this signature in database
GPG key ID: 79A019FCAAEDD3AA
4 changed files with 0 additions and 44 deletions

View file

@ -26,11 +26,6 @@ class OseAccountsDrawerHandler @Inject constructor(): BaseAccountsDrawerHandler(
override fun onNavigationItemSelected(activity: Activity, item: MenuItem) {
when (item.itemId) {
R.id.nav_twitter ->
UiUtils.launchUri(
activity,
Uri.parse("https://twitter.com/" + activity.getString(R.string.twitter_handle))
)
R.id.nav_mastodon ->
UiUtils.launchUri(
activity,

View file

@ -1,33 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:width="24dp"
android:height="24dp"
android:viewportWidth="277"
android:viewportHeight="277">
<group android:translateY="-0.7250061"
tools:ignore="VectorRaster">
<group android:scaleX="0.12466422"
android:scaleY="0.12466422">
<path
android:fillColor="#6aa9e0"
android:pathData="M 2198.4655,429.89797 c -80.4733,35.82942 -166.9548,60.04502 -257.7242,70.936
92.6495,-55.75608 163.7947,-144.04056 197.2992,-249.2398 -86.6974,51.62778
-182.7311,89.11977 -284.9407,109.32754 -81.8574,-87.5536 -198.4753,-142.26556
-327.5334,-142.26556 -247.8202,0 -448.7354,201.70015 -448.7354,450.48215
0,35.30737 3.976,69.69109 11.6242,102.66123 C 715.52416,753.01338
384.88755,573.66545 163.56787,301.11765 c -38.62542,66.53463 -60.74738,143.91205
-60.74738,226.47796 0,156.2889 79.21645,294.17718 199.61849,374.96004
-73.55401,-2.33722 -142.74319,-22.60121 -203.244156,-56.34239 -0.0337,1.87942
-0.0401,3.75884 -0.0401,5.66235 0,218.26959 154.674526,400.34659
359.949116,441.72919 -37.65343,10.2934 -77.29807,15.7967 -118.21711,15.7967
-28.91654,0 -57.02573,-2.8175 -84.423,-8.079 57.10091,178.9785
222.81246,309.2205 419.16928,312.8565 -153.5713,120.8209 -347.05293,192.8427
-557.28115,192.8427 -36.219604,0 -71.938914,-2.1275 -107.042597,-6.2871
198.581677,127.8136 434.444767,202.3893 687.848917,202.3893 825.36002,0
1276.69552,-686.4473 1276.69552,-1281.7474 0,-19.5331 -0.432,-38.96179
-1.2961,-58.27803 87.6657,-63.51471 163.7469,-142.85991 223.9079,-233.2005" />
</group>
</group>
</vector>

View file

@ -20,11 +20,6 @@
<item android:title="@string/navigation_drawer_news_updates">
<menu>
<item
android:id="@+id/nav_twitter"
android:icon="@drawable/twitter"
android:title="\@davx5app"
tools:ignore="HardcodedText"/>
<item
android:id="@+id/nav_mastodon"
android:icon="@drawable/mastodon"

View file

@ -3,7 +3,6 @@
<!-- common strings -->
<string name="app_name">DAVx⁵</string>
<string name="homepage_url" translatable="false">https://www.davx5.com/</string>
<string name="twitter_handle" translatable="false">davx5app</string>
<string name="account_invalid">Account does not exist (anymore)</string>
<string name="account_type" translatable="false">bitfire.at.davdroid</string>