mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
Add support for sharing text from other app
This commit is contained in:
@@ -70,7 +70,8 @@ class ComposeViewModel(intent: Intent) : QkViewModel<ComposeView, ComposeState>(
|
||||
init {
|
||||
appComponent.inject(this)
|
||||
|
||||
draft = intent.extras?.getString("body") ?: ""
|
||||
draft = intent.extras?.getString(Intent.EXTRA_TEXT) ?: ""
|
||||
intent.clipData
|
||||
val threadId = intent.extras?.getLong("threadId") ?: 0L
|
||||
var address = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user