Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
findjigar committed Jan 11, 2024
1 parent 5b4ad5f commit fbdcbf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion shared/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSetTree
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
alias(libs.plugins.kotlinMultiplatform)
Expand Down
7 changes: 5 additions & 2 deletions shared/src/commonMain/kotlin/co/touchlab/droidcon/Koin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fun initKoin(additionalModules: List<Module>): KoinApplication {
return koinApplication
}

val intToLongAdapter = object: ColumnAdapter<Int, Long> {
val intToLongAdapter = object : ColumnAdapter<Int, Long> {
override fun decode(databaseValue: Long): Int {
return databaseValue.toInt()
}
Expand Down Expand Up @@ -122,7 +122,10 @@ private val coreModule = module {
)
}
single<SessionRepository> {
SqlDelightSessionRepository(dateTimeService = get(), sessionQueries = get<DroidconDatabase>().sessionQueries)
SqlDelightSessionRepository(
dateTimeService = get(),
sessionQueries = get<DroidconDatabase>().sessionQueries
)
}
single<RoomRepository> {
SqlDelightRoomRepository(roomQueries = get<DroidconDatabase>().roomQueries)
Expand Down

0 comments on commit fbdcbf1

Please sign in to comment.