Fix packages in shared module

This commit is contained in:
William Brawner 2022-03-03 19:25:30 -07:00
parent 6165886416
commit fc06a2f91d
3 changed files with 3 additions and 9 deletions

View file

@ -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

View file

@ -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.*

View file

@ -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) {