Skip to content

Commit 263e874

Browse files
kenodoggyniftynei
authored andcommitted
Issue nodejs#168 bugfix for links not being clickable, adds autoLink feature including web, phone, map and email
1 parent e370c9b commit 263e874

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

app/src/main/java/com/zulip/android/models/Message.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
import java.util.Map;
4343
import java.util.concurrent.Callable;
4444

45+
import static com.zulip.android.util.CustomHtmlToSpannedConverter.linkifySpanned;
46+
4547
@DatabaseTable(tableName = "messages")
4648
public class Message {
4749

app/src/main/java/com/zulip/android/util/CustomHtmlToSpannedConverter.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
import android.graphics.Typeface;
2525
import android.graphics.drawable.Drawable;
2626
import android.support.annotation.NonNull;
27+
<<<<<<< e370c9bc00e8f6b33b1d12a44b4c70a7f063c8b9
2728
import android.support.v4.content.ContextCompat;
29+
=======
30+
>>>>>>> Issue #168 bugfix for links not being clickable, adds autoLink feature including web, phone, map and email
2831
import android.text.Html;
2932
import android.text.Layout;
3033
import android.text.Spannable;
@@ -730,7 +733,11 @@ private static int convertValueToInt(CharSequence charSeq,
730733
}
731734

732735
/**
736+
<<<<<<< e370c9bc00e8f6b33b1d12a44b4c70a7f063c8b9
733737
* Parses Spanned text for existing html links and reapplies them after the text has been Linkified
738+
=======
739+
* Parses Spanned text for existing html links and reapplies them.
740+
>>>>>>> Issue #168 bugfix for links not being clickable, adds autoLink feature including web, phone, map and email
734741
* @see <a href="https://developer.android.com/reference/android/text/util/Linkify.html">Linkify</a>
735742
*
736743
* @param spann

0 commit comments

Comments
 (0)