规范代码

pull/6/head
atbest 6 years ago
parent 55813d1a5f
commit db99c59edb
  1. 6
      app/src/main/java/io/legado/app/App.kt

@ -4,12 +4,14 @@ import android.app.Application
class App : Application() {
companion object{
companion object {
@JvmStatic
lateinit var INSTANCE: App
private set
}
override fun onCreate() {
super.onCreate()
INSTANCE = this
}
}
}

Loading…
Cancel
Save