Skip to content

Commit c6b0934

Browse files
committed
initialize Stetho only in debug build
1 parent a72251e commit c6b0934

File tree

1 file changed

+2
-2
lines changed
  • app/src/main/kotlin/com/simplemobiletools/notes

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package com.simplemobiletools.notes
22

33
import android.app.Application
4-
54
import com.facebook.stetho.Stetho
65

76
class App : Application() {
87
override fun onCreate() {
98
super.onCreate()
10-
Stetho.initializeWithDefaults(this)
9+
if (BuildConfig.DEBUG)
10+
Stetho.initializeWithDefaults(this)
1111
}
1212
}

0 commit comments

Comments
 (0)