You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iceraven-browser/app/src/main/java/org/mozilla/fenix/ext/Context.kt

11 lines
315 B
Kotlin

package org.mozilla.fenix.ext
import android.content.Context
import org.mozilla.fenix.FenixApplication
import org.mozilla.fenix.components.Components
val Context.application: FenixApplication
get() = applicationContext as FenixApplication
val Context.components: Components
get() = application.components