Fix incorrect handling of shared text that contains a link with query params

This commit is contained in:
Moez Bhatti
2021-02-24 09:42:28 -05:00
parent 796e9c7747
commit d1883ad941
@@ -49,7 +49,7 @@ class ComposeActivityModule {
return activity.intent
?.decodedDataString()
?.substringAfter(':') // Remove scheme
?.substringBeforeLast("?") // Remove query
?.substringBefore("?") // Remove query
?.split(",", ";")
?.filter { number -> number.isNotEmpty() }
?: listOf()