diff --git a/frontend/core/local-db/src/jsMain/kotlin/at/mocode/frontend/core/localdb/DatabaseDriverFactory.js.kt b/frontend/core/local-db/src/jsMain/kotlin/at/mocode/frontend/core/localdb/DatabaseDriverFactory.js.kt index c2a6b40b..ac699802 100644 --- a/frontend/core/local-db/src/jsMain/kotlin/at/mocode/frontend/core/localdb/DatabaseDriverFactory.js.kt +++ b/frontend/core/local-db/src/jsMain/kotlin/at/mocode/frontend/core/localdb/DatabaseDriverFactory.js.kt @@ -1,6 +1,5 @@ package at.mocode.frontend.core.localdb -import app.cash.sqldelight.db.QueryResult import app.cash.sqldelight.db.SqlCursor import app.cash.sqldelight.db.SqlDriver import app.cash.sqldelight.driver.worker.WebWorkerDriver diff --git a/frontend/core/network/src/commonMain/kotlin/at/mocode/frontend/core/network/NetworkModule.kt b/frontend/core/network/src/commonMain/kotlin/at/mocode/frontend/core/network/NetworkModule.kt index 2fcf78ba..a6bfacb0 100644 --- a/frontend/core/network/src/commonMain/kotlin/at/mocode/frontend/core/network/NetworkModule.kt +++ b/frontend/core/network/src/commonMain/kotlin/at/mocode/frontend/core/network/NetworkModule.kt @@ -139,7 +139,7 @@ val networkModule = module { // But let's make it robust anyway. // We will use a safe lazy resolution pattern. - } catch (e: Exception) { + } catch (_: Exception) { // ignore } execute(request) @@ -153,7 +153,7 @@ val networkModule = module { // Attempt to resolve TokenProvider from the capturing scope val tokenProvider = try { koinScope.get() - } catch (e: Exception) { + } catch (_: Exception) { null } diff --git a/frontend/features/ping-feature/src/commonMain/kotlin/at/mocode/ping/feature/data/PingEventRepositoryImpl.kt b/frontend/features/ping-feature/src/commonMain/kotlin/at/mocode/ping/feature/data/PingEventRepositoryImpl.kt index defbe0b1..1c788891 100644 --- a/frontend/features/ping-feature/src/commonMain/kotlin/at/mocode/ping/feature/data/PingEventRepositoryImpl.kt +++ b/frontend/features/ping-feature/src/commonMain/kotlin/at/mocode/ping/feature/data/PingEventRepositoryImpl.kt @@ -3,8 +3,6 @@ package at.mocode.ping.feature.data import at.mocode.frontend.core.localdb.AppDatabase import at.mocode.frontend.core.sync.SyncableRepository import at.mocode.ping.api.PingEvent -import kotlinx.coroutines.Dispatchers -import kotlinx.coroutines.withContext // ARCH-BLUEPRINT: This repository implements the generic SyncableRepository // for a specific entity, bridging the gap between the sync core and the local database.