Create new task for ACTION_VIEW intent

pull/1111/head
Alex Baker 4 years ago
parent 78e8d2273d
commit b424cbbed2

@ -65,6 +65,10 @@ class ShareLinkActivity : InjectingAppCompatActivity() {
editTask(task) editTask(task)
finish() finish()
} }
Intent.ACTION_VIEW == action -> lifecycleScope.launch {
editTask(taskCreator.createWithValues(""))
finish()
}
else -> { else -> {
Timber.e("Unhandled intent: %s", intent) Timber.e("Unhandled intent: %s", intent)
finish() finish()

Loading…
Cancel
Save