Surround phone numbers with LTR unicode mark.

This also removes the previous TextView LTR flag that I had initially added for a one-off.
This commit is contained in:
Nicholas
2022-10-12 16:54:11 -04:00
committed by Alex Hart
parent 3a78031a71
commit 3d14c05114
3 changed files with 5 additions and 2 deletions

View File

@@ -322,4 +322,8 @@ public final class StringUtil {
iterator.setText(text);
return iterator.countBreaks();
}
public static String forceLtr(@NonNull CharSequence text) {
return "\u202a" + text + "\u202c";
}
}