Skip to content

Commit

Permalink
Fix incorrect handling of shared text that contains a link with query…
Browse files Browse the repository at this point in the history
… params
  • Loading branch information
moezbhatti committed Feb 24, 2021
1 parent 796e9c7 commit d1883ad
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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()
Expand Down

0 comments on commit d1883ad

Please sign in to comment.