summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-11-28 20:15:50 -0600
committerSamuel Holland <samuel@sholland.org>2017-11-28 20:15:50 -0600
commit49df1ebc402f93cbf97202ab7a838259f804f06a (patch)
tree1b764253c7fc7d634adbf40512420813d64d163f /app/src/main/java
parent8ba902ae99b651c6e7d60cd162eb943d6dd20f39 (diff)
NotSupported: Fix links
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/wireguard/android/NotSupportedActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/com/wireguard/android/NotSupportedActivity.java b/app/src/main/java/com/wireguard/android/NotSupportedActivity.java
index 65612855..7b4d0bab 100644
--- a/app/src/main/java/com/wireguard/android/NotSupportedActivity.java
+++ b/app/src/main/java/com/wireguard/android/NotSupportedActivity.java
@@ -6,6 +6,7 @@ import android.os.Build;
import android.os.Bundle;
import android.text.Html;
import android.text.Spanned;
+import android.text.method.LinkMovementMethod;
import com.wireguard.android.databinding.NotSupportedActivityBinding;
@@ -21,6 +22,7 @@ public class NotSupportedActivity extends Activity {
messageText = Html.fromHtml(messageHtml, Html.FROM_HTML_MODE_COMPACT);
else
messageText = Html.fromHtml(messageHtml);
+ binding.notSupportedMessage.setMovementMethod(LinkMovementMethod.getInstance());
binding.notSupportedMessage.setText(messageText);
}
}