diff --git a/app/src/main/java/fr/gouv/etalab/mastodon/activities/AboutActivity.java b/app/src/main/java/fr/gouv/etalab/mastodon/activities/AboutActivity.java
index 1aa00bcfe..f0ce89fc9 100644
--- a/app/src/main/java/fr/gouv/etalab/mastodon/activities/AboutActivity.java
+++ b/app/src/main/java/fr/gouv/etalab/mastodon/activities/AboutActivity.java
@@ -100,6 +100,7 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
Button about_code = findViewById(R.id.about_code);
Button about_license = findViewById(R.id.about_license);
Button about_thekinrar = findViewById(R.id.about_thekinrar);
+ Button about_trunk = findViewById(R.id.about_trunk);
about_code.setOnClickListener(new View.OnClickListener() {
@Override
@@ -117,6 +118,14 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
}
});
+ about_trunk.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://communitywiki.org/trunk"));
+ startActivity(browserIntent);
+ }
+ });
+
about_license.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
@@ -167,6 +176,7 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
if( theme == Helper.THEME_LIGHT) {
about_code.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.white));
about_thekinrar.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.white));
+ about_trunk.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.white));
about_translation.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.white));
about_license.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.white));
about_support.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.white));
diff --git a/app/src/main/res/layout-sw600dp/activity_about.xml b/app/src/main/res/layout-sw600dp/activity_about.xml
index c4a7efb6c..d293d6c5a 100644
--- a/app/src/main/res/layout-sw600dp/activity_about.xml
+++ b/app/src/main/res/layout-sw600dp/activity_about.xml
@@ -251,6 +251,31 @@
android:text="@string/about_thekinrar_action"/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Adding accounts to the list
You have not created a list yet. Click on the \"+\" button to add a new one.
You don\'t follow any remote instances. Click on the \"+\" button to add a new one.
+ Who to follow
+ Trunk API