File tree Expand file tree Collapse file tree
src/jvmMain/kotlin/neth/iecal/trease Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ kotlin {
4848
4949 implementation(libs.ktor.client.android)
5050 implementation(" io.ktor:ktor-client-okhttp:3.0.1" )
51+ implementation(project(" :appintro" ))
52+
5153 }
5254 commonMain.dependencies {
5355 implementation(compose.runtime)
@@ -73,7 +75,6 @@ kotlin {
7375 implementation(project.dependencies.platform(" io.github.jan-tennert.supabase:bom:3.2.6" ))
7476 implementation(" org.jetbrains.kotlinx:kotlinx-datetime:0.6.0" )
7577
76- implementation(project(" :appintro" ))
7778 }
7879 commonTest.dependencies {
7980 implementation(libs.kotlin.test)
Original file line number Diff line number Diff line change 11package neth.iecal.trease
22
33import androidx.compose.runtime.Composable
4+ import androidx.compose.runtime.LaunchedEffect
45import androidx.compose.ui.Modifier
56import androidx.compose.ui.layout.ContentScale
67import io.github.kdroidfilter.composemediaplayer.VideoPlayerState
78import io.github.kdroidfilter.composemediaplayer.VideoPlayerSurface
89import io.ktor.client.HttpClient
910import io.ktor.client.engine.okhttp.OkHttp
11+ import neth.iecal.trease.viewmodels.HomeScreenViewModel
1012import okio.FileSystem
1113import java.io.File
1214
@@ -39,4 +41,19 @@ actual fun PlatformVideoPlayer(
3941 contentScale = ContentScale .Crop ,
4042 modifier = modifier,
4143 )
44+ }
45+
46+ @Composable
47+ actual fun FocusStarterDialog (
48+ viewModel : HomeScreenViewModel ,
49+ onConfirm : () -> Unit ,
50+ onDismissed : () -> Unit
51+ ) {
52+ // Todo: Add blocking to jvm
53+ LaunchedEffect (Unit ){
54+ onConfirm()
55+ }
56+ }
57+
58+ actual fun onForceStopFocus () {
4259}
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments