diff --git a/app/src/main/java/com/wbrawner/pihelper/PiHelperModule.kt b/app/src/main/java/com/wbrawner/pihelper/PiHelperModule.kt index e3b39d7..17f517a 100644 --- a/app/src/main/java/com/wbrawner/pihelper/PiHelperModule.kt +++ b/app/src/main/java/com/wbrawner/pihelper/PiHelperModule.kt @@ -3,8 +3,8 @@ package com.wbrawner.pihelper import android.content.Context import android.content.SharedPreferences import androidx.security.crypto.EncryptedSharedPreferences -import com.wbrawer.pihelper.shared.create import com.wbrawner.pihelper.shared.PiholeAPIService +import com.wbrawner.pihelper.shared.create import dagger.Module import dagger.Provides import dagger.hilt.InstallIn diff --git a/shared/src/androidMain/kotlin/com/wbrawner/pihelper/shared/HttpClient.kt b/shared/src/androidMain/kotlin/com/wbrawner/pihelper/shared/HttpClient.kt index d47f19a..d7e7557 100644 --- a/shared/src/androidMain/kotlin/com/wbrawner/pihelper/shared/HttpClient.kt +++ b/shared/src/androidMain/kotlin/com/wbrawner/pihelper/shared/HttpClient.kt @@ -1,8 +1,5 @@ -package com.wbrawer.pihelper.shared +package com.wbrawner.pihelper.shared -import com.wbrawner.pihelper.shared.KtorPiholeAPIService -import com.wbrawner.pihelper.shared.PiholeAPIService -import com.wbrawner.pihelper.shared.commonConfig import io.ktor.client.* import io.ktor.client.engine.android.* diff --git a/shared/src/iosMain/Kotlin/com/wbrawner/pihelper/shared/HttpClient.kt b/shared/src/iosMain/Kotlin/com/wbrawner/pihelper/shared/HttpClient.kt index 6152545..32fe20b 100644 --- a/shared/src/iosMain/Kotlin/com/wbrawner/pihelper/shared/HttpClient.kt +++ b/shared/src/iosMain/Kotlin/com/wbrawner/pihelper/shared/HttpClient.kt @@ -1,9 +1,6 @@ -package com.wbrawer.pihelper.shared +package com.wbrawner.pihelper.shared -import com.wbrawner.pihelper.shared.KtorPiholeAPIService -import com.wbrawner.pihelper.shared.PiholeAPIService import io.ktor.client.* -import com.wbrawner.pihelper.shared.commonConfig import io.ktor.client.engine.darwin.* fun PiholeAPIService.Companion.create() = KtorPiholeAPIService(HttpClient(Darwin) {