UrlLauncherAmbient: switch to staticAmbientOf

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-12-01 21:55:00 +05:30
parent b5c039eaba
commit 2b2acd1311
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -1,5 +1,5 @@
package dev.msfjarvis.lobsters.ui.urllauncher
import androidx.compose.runtime.ambientOf
import androidx.compose.runtime.staticAmbientOf
val UrlLauncherAmbient = ambientOf<UrlLauncher> { error("Needs to be provided") }
val UrlLauncherAmbient = staticAmbientOf<UrlLauncher> { error("Needs to be provided") }