ui/common/src/commonMain/kotlin/BrowserLauncher.kt
changeset 51 d69bdf1ad491
parent 36 a8cfcfe9a6ed
child 80 2474591aa280
--- a/ui/common/src/commonMain/kotlin/BrowserLauncher.kt	Wed Apr 23 14:43:46 2025 -0400
+++ b/ui/common/src/commonMain/kotlin/BrowserLauncher.kt	Thu Apr 24 18:10:07 2025 -0400
@@ -21,16 +21,19 @@
  */
 package com.geekorum.aboutoss.ui.common
 
+import androidx.compose.runtime.Composable
+
 
 /**
  * Interface to be able to launch a browser to display a link
  */
 interface BrowserLauncher {
-    fun warmUp()
 
     fun launchUrl(link: String)
 
     fun mayLaunchUrl(vararg uris: String)
 
-    fun shutdown()
-}
\ No newline at end of file
+}
+
+@Composable
+expect fun rememberBrowserLauncher(): BrowserLauncher
\ No newline at end of file