diff options
author | Samuel Holland <samuel@sholland.org> | 2017-11-28 20:15:50 -0600 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-11-28 20:15:50 -0600 |
commit | b46c6a2db033b4025f4b2fb28a913a394f075fcc (patch) | |
tree | 1b764253c7fc7d634adbf40512420813d64d163f /app | |
parent | a2afbd0e1aa37a8cf8e96f76ee1055d6105d25f1 (diff) |
NotSupported: Fix links
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/com/wireguard/android/NotSupportedActivity.java | 2 |
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); } } |