diff options
author | Allan Wang <me@allanwang.ca> | 2021-04-17 20:06:36 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2021-04-17 20:06:36 -0700 |
commit | 6abaf596e4db5a36057f6a8acf31b72f57a12e18 (patch) | |
tree | 1b2d52fe2f6a4d1d73fe23c0061a697c9d664eab /app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt | |
parent | 795182bab71e70c28e7d07550bca0d2e35b70c60 (diff) | |
download | frost-6abaf596e4db5a36057f6a8acf31b72f57a12e18.tar.gz frost-6abaf596e4db5a36057f6a8acf31b72f57a12e18.tar.bz2 frost-6abaf596e4db5a36057f6a8acf31b72f57a12e18.zip |
Remove koin dependency in production
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt index dc375a8d..187e7d4e 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/DebugWebView.kt @@ -37,7 +37,6 @@ import com.pitchedapps.frost.utils.isFacebookUrl import dagger.hilt.android.AndroidEntryPoint import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext -import org.koin.core.component.KoinComponent import java.io.File import javax.inject.Inject @@ -51,7 +50,7 @@ class DebugWebView @JvmOverloads constructor( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0 -) : WebView(context, attrs, defStyleAttr), KoinComponent { +) : WebView(context, attrs, defStyleAttr) { @Inject lateinit var prefs: Prefs |