You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Exported old update card to special xml include where binding takes care of everything that had to be done in code beforehand. Added several easing functions and enums. Backported some classes and functions from the old fork Expect major breakage. Literally nothing works as the functionality needs to be implemented
14 lines
299 B
Kotlin
14 lines
299 B
Kotlin
package com.topjohnwu.magisk.di
|
|
|
|
import android.content.Context
|
|
import com.skoumal.teanity.rxbus.RxBus
|
|
import com.topjohnwu.magisk.App
|
|
import org.koin.dsl.module
|
|
|
|
|
|
val applicationModule = module {
|
|
single { RxBus() }
|
|
single { get<Context>().resources }
|
|
single { get<Context>() as App }
|
|
}
|