mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-06-11 18:19:15 -04:00
initialize Stetho only in debug build
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user