diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-07 22:59:43 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-07 22:59:43 +0200 |
commit | 19e8116742267235a222b83abbc99ad2ce5d2895 (patch) | |
tree | 00d9e62e298b84d9c3f21732d396676d749ad018 /src/main/java/de/pixart/messenger/ui/adapter | |
parent | 6b3e3a0831099c84def024a5bfe6036c2c53b04a (diff) |
detect irregular unicode in domain part
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/adapter')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/ListItemAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/ListItemAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/ListItemAdapter.java index 821483f33..432bc0d4b 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/ListItemAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/ListItemAdapter.java @@ -27,7 +27,7 @@ import de.pixart.messenger.databinding.ContactBinding; import de.pixart.messenger.entities.ListItem; import de.pixart.messenger.ui.SettingsActivity; import de.pixart.messenger.ui.XmppActivity; -import de.pixart.messenger.utils.IrregularUnicodeBlockDetector; +import de.pixart.messenger.utils.IrregularUnicodeDetector; import de.pixart.messenger.utils.UIHelper; import rocks.xmpp.addr.Jid; @@ -92,7 +92,7 @@ public class ListItemAdapter extends ArrayAdapter<ListItem> { final Jid jid = item.getJid(); if (jid != null) { viewHolder.jid.setVisibility(View.VISIBLE); - viewHolder.jid.setText(IrregularUnicodeBlockDetector.style(activity, jid)); + viewHolder.jid.setText(IrregularUnicodeDetector.style(activity, jid)); } else { viewHolder.jid.setVisibility(View.GONE); } |