Commit 03422429 authored by Ricki Hirner's avatar Ricki Hirner 🐑

Provide title and color in Webcal intent; ical4android update

parent 46463bc2
Pipeline #14428876 passed with stages
in 6 minutes and 10 seconds
...@@ -263,6 +263,8 @@ class AccountActivity: AppCompatActivity(), Toolbar.OnMenuItemClickListener, Pop ...@@ -263,6 +263,8 @@ class AccountActivity: AppCompatActivity(), Toolbar.OnMenuItemClickListener, Pop
} }
val intent = Intent(Intent.ACTION_VIEW, uri) val intent = Intent(Intent.ACTION_VIEW, uri)
info.displayName?.let { intent.putExtra("title", it) }
info.color?.let { intent.putExtra("color", it) }
if (packageManager.resolveActivity(intent, 0) != null) if (packageManager.resolveActivity(intent, 0) != null)
startActivity(intent) startActivity(intent)
else { else {
......
Subproject commit c5331a963e98b4faaf6419c14af1f76877b58aa2 Subproject commit bff8e5b8857605da0ac754c99eaed603a71f7bcb
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment