File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
android-supabase-todolist/app
src/main/java/com/powersync/androidexample/powersync Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,14 @@ android {
8181 }
8282}
8383
84+ kotlin {
85+ sourceSets.all {
86+ languageSettings {
87+ optIn(" kotlin.time.ExperimentalTime" )
88+ }
89+ }
90+ }
91+
8492dependencies {
8593 implementation(libs.androidx.core.splashscreen)
8694 implementation(libs.androidx.core.ktx)
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import kotlinx.coroutines.flow.MutableStateFlow
1515import kotlinx.coroutines.flow.StateFlow
1616import kotlinx.coroutines.flow.flowOf
1717import kotlinx.coroutines.launch
18+ import kotlin.time.Clock
1819
1920internal class Todo (
2021 private val db : PowerSyncDatabase ,
Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ kotlin {
3838 }
3939 }
4040 sourceSets {
41+ all {
42+ languageSettings {
43+ optIn(" kotlin.time.ExperimentalTime" )
44+ }
45+ }
46+
4147 commonMain.dependencies {
4248 // Need to use api here otherwise Database driver can't be accessed
4349 // When copying this example, replace "latest.release" with the current version available
You can’t perform that action at this time.
0 commit comments