Fix packages in shared module
This commit is contained in:
parent
6165886416
commit
fc06a2f91d
3 changed files with 3 additions and 9 deletions
|
@ -3,8 +3,8 @@ package com.wbrawner.pihelper
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.SharedPreferences
|
import android.content.SharedPreferences
|
||||||
import androidx.security.crypto.EncryptedSharedPreferences
|
import androidx.security.crypto.EncryptedSharedPreferences
|
||||||
import com.wbrawer.pihelper.shared.create
|
|
||||||
import com.wbrawner.pihelper.shared.PiholeAPIService
|
import com.wbrawner.pihelper.shared.PiholeAPIService
|
||||||
|
import com.wbrawner.pihelper.shared.create
|
||||||
import dagger.Module
|
import dagger.Module
|
||||||
import dagger.Provides
|
import dagger.Provides
|
||||||
import dagger.hilt.InstallIn
|
import dagger.hilt.InstallIn
|
||||||
|
|
|
@ -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.*
|
||||||
import io.ktor.client.engine.android.*
|
import io.ktor.client.engine.android.*
|
||||||
|
|
||||||
|
|
|
@ -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 io.ktor.client.*
|
||||||
import com.wbrawner.pihelper.shared.commonConfig
|
|
||||||
import io.ktor.client.engine.darwin.*
|
import io.ktor.client.engine.darwin.*
|
||||||
|
|
||||||
fun PiholeAPIService.Companion.create() = KtorPiholeAPIService(HttpClient(Darwin) {
|
fun PiholeAPIService.Companion.create() = KtorPiholeAPIService(HttpClient(Darwin) {
|
||||||
|
|
Loading…
Reference in a new issue