mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-13 07:00:10 +01:00
initialize Stetho only in debug build
This commit is contained in:
parent
a72251ea4b
commit
c6b0934b85
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user