forked from upstream-mirrors/quik
Fix incorrect handling of shared text with commas
This commit is contained in:
@@ -67,8 +67,7 @@ class ComposeActivityModule {
|
||||
?: activity.intent.extras?.getString("sms_body")
|
||||
?: activity.intent?.decodedDataString()
|
||||
?.substringAfter('?') // Query string
|
||||
?.split(',')
|
||||
?.firstOrNull { param -> param.startsWith("body") }
|
||||
?.takeIf { it.startsWith("body") }
|
||||
?.substringAfter('=')
|
||||
?: "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user