From b46c6a2db033b4025f4b2fb28a913a394f075fcc Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Tue, 28 Nov 2017 20:15:50 -0600 Subject: NotSupported: Fix links --- app/src/main/java/com/wireguard/android/NotSupportedActivity.java | 2 ++ 1 file changed, 2 insertions(+) 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); } } -- cgit v1.2.3