mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-04-02 18:00:12 +02:00
initialize Stetho only in debug build
This commit is contained in:
parent
a72251ea4b
commit
c6b0934b85
@ -1,12 +1,12 @@
|
|||||||
package com.simplemobiletools.notes
|
package com.simplemobiletools.notes
|
||||||
|
|
||||||
import android.app.Application
|
import android.app.Application
|
||||||
|
|
||||||
import com.facebook.stetho.Stetho
|
import com.facebook.stetho.Stetho
|
||||||
|
|
||||||
class App : Application() {
|
class App : Application() {
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
Stetho.initializeWithDefaults(this)
|
if (BuildConfig.DEBUG)
|
||||||
|
Stetho.initializeWithDefaults(this)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user