Merge pull request #6 from gedoor/atbest

规范代码
pull/8/head
atbest 6 years ago committed by GitHub
commit f24855e899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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