Merge remote-tracking branch 'origin/master'

pull/8/head
GKF 6 years ago
commit 68cfb670a8
  1. 6
      app/src/main/java/io/legado/app/App.kt

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

Loading…
Cancel
Save