mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-30 14:15:55 +00:00
android: replace new line in Uri before transforming it to URI (#4240)
This commit is contained in:
committed by
GitHub
parent
0ae9f5ebba
commit
d79b4dfb5a
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user