android: replace new line in Uri before transforming it to URI (#4240)

This commit is contained in:
Stanislav Dmitrenko authored and GitHub committed 2024-05-28 11:24:57 +01:00
1 parent 0ae9f5ebba
commit d79b4dfb5a
1 file changed
+1 -1
@@ -17,6 +17,6 @@ val NotificationsMode.requiresIgnoringBattery
lateinit var APPLICATION_ID: String
fun Uri.toURI(): URI = URI(toString())
fun Uri.toURI(): URI = URI(toString().replace("\n", ""))
fun URI.toUri(): Uri = Uri.parse(toString())