mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
Launch ComposeActivity directly from other apps, load address from intent
This commit is contained in:
@@ -105,9 +105,7 @@ class Navigator @Inject constructor(val context: Context) {
|
||||
}
|
||||
|
||||
ComposeViewModel::class.java -> {
|
||||
val threadId = intent.getLongExtra("threadId", 0)
|
||||
val body = intent.getStringExtra("body") ?: ""
|
||||
ComposeViewModel(threadId, body)
|
||||
ComposeViewModel(intent)
|
||||
}
|
||||
|
||||
SettingsViewModel::class.java -> {
|
||||
|
||||
Reference in New Issue
Block a user