aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-07-31 17:42:56 -0700
committerScott Jackson <daneren2005@gmail.com>2015-07-31 17:42:56 -0700
commit9de4a3118f4e8b6a8e37c771dbb6b0f7aad6f7ee (patch)
treede611effdb92b120ab5dfe8a8fca14bd09cd8bb1 /app
parent0d5ea40198f1503ae0ad243663d1c6ba2a4dca99 (diff)
downloaddsub-9de4a3118f4e8b6a8e37c771dbb6b0f7aad6f7ee.tar.gz
dsub-9de4a3118f4e8b6a8e37c771dbb6b0f7aad6f7ee.tar.bz2
dsub-9de4a3118f4e8b6a8e37c771dbb6b0f7aad6f7ee.zip
Only linkify email/websites
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/adapter/DetailsAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/adapter/DetailsAdapter.java b/app/src/main/java/github/daneren2005/dsub/adapter/DetailsAdapter.java
index efafe27a..927b63ae 100644
--- a/app/src/main/java/github/daneren2005/dsub/adapter/DetailsAdapter.java
+++ b/app/src/main/java/github/daneren2005/dsub/adapter/DetailsAdapter.java
@@ -55,7 +55,7 @@ public class DetailsAdapter extends ArrayAdapter<String> {
nameView.setText(headers.get(position));
detailsView.setText(details.get(position));
- Linkify.addLinks(detailsView, Linkify.ALL);
+ Linkify.addLinks(detailsView, Linkify.WEB_URLS | Linkify.EMAIL_ADDRESSES);
return view;
}