mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02: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()
|
||||
if (BuildConfig.DEBUG)
|
||||
Stetho.initializeWithDefaults(this)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user