From 34811d1956137ccb6e070d67568cd7dddb8a9c1d Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 5 Oct 2020 20:45:52 +0200 Subject: [PATCH] Some changes --- app/src/main/java/app/fedilab/mobilizon/MainActivity.java | 2 +- app/src/main/res/layout/popup_about.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/app/fedilab/mobilizon/MainActivity.java b/app/src/main/java/app/fedilab/mobilizon/MainActivity.java index 31fd09c..3d95713 100644 --- a/app/src/main/java/app/fedilab/mobilizon/MainActivity.java +++ b/app/src/main/java/app/fedilab/mobilizon/MainActivity.java @@ -198,7 +198,7 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On startActivity(browserIntent); }); SpannableString contentLicense = new SpannableString(license.getText().toString()); - contentLicense.setSpan(new UnderlineSpan(), 0, contentTerms.length(), 0); + contentLicense.setSpan(new UnderlineSpan(), 0, contentLicense.length(), 0); license.setText(contentLicense); license.setOnClickListener(v -> { Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://framagit.org/framasoft/mobilizon/blob/master/LICENSE")); diff --git a/app/src/main/res/layout/popup_about.xml b/app/src/main/res/layout/popup_about.xml index 9834c85..03df001 100644 --- a/app/src/main/res/layout/popup_about.xml +++ b/app/src/main/res/layout/popup_about.xml @@ -73,7 +73,7 @@