initialize Stetho only in debug build

This commit is contained in:
tibbi 2017-07-04 19:52:46 +02:00
parent a72251ea4b
commit c6b0934b85

View File

@ -1,12 +1,12 @@
package com.simplemobiletools.notes
import android.app.Application
import com.facebook.stetho.Stetho
class App : Application() {
override fun onCreate() {
super.onCreate()
Stetho.initializeWithDefaults(this)
if (BuildConfig.DEBUG)
Stetho.initializeWithDefaults(this)
}
}