element-x-android
element-x-android copied to clipboard
Improve phone number detection to avoid displaying every short number as a link
Your use case
What would you like to do?
Currently, every number with 2 or more digits is shown as a phone link, so i can call it by tapping on it. Not sure if this is fixable, 23 is probably never a phone number, but there are indeed very short phone numbers like 911.
Why would you like to do it?
it is a bit irritating, that most simple numbers are a link
How would you like to achieve it?
i would search for a regex that detects phone numbers
Have you considered any alternatives?
No response
Additional context
No response
Are you willing to provide a PR?
Yes