From 6095b2ef96174498416f0a220a98a8bb5be51008 Mon Sep 17 00:00:00 2001 From: Philippe Weidmann Date: Thu, 12 Dec 2024 11:04:19 +0100 Subject: [PATCH] refactor: Remove leftover imports --- .../managers/EmailTokensManager.kt | 1 - .../database/controllers/AppSettingsController.kt | 6 ------ 2 files changed, 7 deletions(-) diff --git a/STCore/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/managers/EmailTokensManager.kt b/STCore/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/managers/EmailTokensManager.kt index 6f332ccb..a40e83f2 100644 --- a/STCore/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/managers/EmailTokensManager.kt +++ b/STCore/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/managers/EmailTokensManager.kt @@ -18,7 +18,6 @@ package com.infomaniak.multiplatform_swisstransfer.managers import com.infomaniak.multiplatform_swisstransfer.common.exceptions.RealmException -import com.infomaniak.multiplatform_swisstransfer.common.interfaces.appSettings.EmailToken import com.infomaniak.multiplatform_swisstransfer.database.controllers.EmailTokensController import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.IO diff --git a/STDatabase/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/database/controllers/AppSettingsController.kt b/STDatabase/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/database/controllers/AppSettingsController.kt index d4664121..4fce1a5d 100644 --- a/STDatabase/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/database/controllers/AppSettingsController.kt +++ b/STDatabase/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/database/controllers/AppSettingsController.kt @@ -19,14 +19,9 @@ package com.infomaniak.multiplatform_swisstransfer.database.controllers import com.infomaniak.multiplatform_swisstransfer.common.exceptions.RealmException import com.infomaniak.multiplatform_swisstransfer.common.interfaces.appSettings.AppSettings -import com.infomaniak.multiplatform_swisstransfer.common.interfaces.appSettings.EmailToken -import com.infomaniak.multiplatform_swisstransfer.common.interfaces.transfers.File import com.infomaniak.multiplatform_swisstransfer.common.models.* import com.infomaniak.multiplatform_swisstransfer.database.RealmProvider import com.infomaniak.multiplatform_swisstransfer.database.models.appSettings.AppSettingsDB -import com.infomaniak.multiplatform_swisstransfer.database.models.appSettings.EmailTokenDB -import com.infomaniak.multiplatform_swisstransfer.database.models.transfers.FileDB -import com.infomaniak.multiplatform_swisstransfer.database.models.transfers.TransferDB import com.infomaniak.multiplatform_swisstransfer.database.utils.RealmUtils.runThrowingRealm import io.realm.kotlin.UpdatePolicy import io.realm.kotlin.ext.query @@ -61,7 +56,6 @@ class AppSettingsController(private val realmProvider: RealmProvider) { fun getAppSettings(): AppSettings? = runThrowingRealm { return appSettingsQuery.find() } - //endregion //region Update data