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 {
81
81
}
82
82
}
83
83
84
+ kotlin {
85
+ sourceSets.all {
86
+ languageSettings {
87
+ optIn(" kotlin.time.ExperimentalTime" )
88
+ }
89
+ }
90
+ }
91
+
84
92
dependencies {
85
93
implementation(libs.androidx.core.splashscreen)
86
94
implementation(libs.androidx.core.ktx)
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import kotlinx.coroutines.flow.MutableStateFlow
15
15
import kotlinx.coroutines.flow.StateFlow
16
16
import kotlinx.coroutines.flow.flowOf
17
17
import kotlinx.coroutines.launch
18
+ import kotlin.time.Clock
18
19
19
20
internal class Todo (
20
21
private val db : PowerSyncDatabase ,
Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ kotlin {
38
38
}
39
39
}
40
40
sourceSets {
41
+ all {
42
+ languageSettings {
43
+ optIn(" kotlin.time.ExperimentalTime" )
44
+ }
45
+ }
46
+
41
47
commonMain.dependencies {
42
48
// Need to use api here otherwise Database driver can't be accessed
43
49
// When copying this example, replace "latest.release" with the current version available
You can’t perform that action at this time.
0 commit comments