Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit b0774fe

Browse files
committed
Application: only install logging tree in debug features build
We should be at a stability level now that does not require logging in prod Signed-off-by: Harsh Shandilya <[email protected]>
1 parent 500ab60 commit b0774fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/zeapo/pwdstore/Application.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class Application : android.app.Application(), SharedPreferences.OnSharedPrefere
2121

2222
override fun onCreate() {
2323
super.onCreate()
24-
plant(DebugTree())
2524
if (BuildConfig.ENABLE_DEBUG_FEATURES) {
25+
plant(DebugTree())
2626
WhatTheStack(this).init()
2727
}
2828
prefs = PreferenceManager.getDefaultSharedPreferences(this)

0 commit comments

Comments
 (0)