aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-02-23 16:53:29 -0800
committerAllan Wang <me@allanwang.ca>2020-02-23 16:53:29 -0800
commit62fb124f5dcfad66e700e9f27161d41bb0e0aa3c (patch)
tree12b0d318d59ee8eb2d21660a33fad593ac9603c3 /app/src/main/kotlin/com/pitchedapps
parent44de8239ec7d9e6b79194647829863d176123379 (diff)
downloadfrost-62fb124f5dcfad66e700e9f27161d41bb0e0aa3c.tar.gz
frost-62fb124f5dcfad66e700e9f27161d41bb0e0aa3c.tar.bz2
frost-62fb124f5dcfad66e700e9f27161d41bb0e0aa3c.zip
Remove koincomponent from fragment
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/intro/IntroMainFragments.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroMainFragments.kt b/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroMainFragments.kt
index f1c91ad3..b10136db 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroMainFragments.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroMainFragments.kt
@@ -37,9 +37,8 @@ import com.pitchedapps.frost.R
import com.pitchedapps.frost.activities.IntroActivity
import com.pitchedapps.frost.databinding.IntroAnalyticsBinding
import com.pitchedapps.frost.utils.Prefs
+import org.koin.android.ext.android.inject
import kotlin.math.abs
-import org.koin.core.KoinComponent
-import org.koin.core.inject
/**
* Created by Allan Wang on 2017-07-28.
@@ -50,7 +49,7 @@ import org.koin.core.inject
/**
* The core intro fragment for all other fragments
*/
-abstract class BaseIntroFragment(val layoutRes: Int) : Fragment(), KoinComponent {
+abstract class BaseIntroFragment(val layoutRes: Int) : Fragment() {
protected val prefs: Prefs by inject()