diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 5 | ||||
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/Application.kt | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/app/build.gradle b/app/build.gradle index 2e203705..7be17e71 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -22,7 +22,7 @@ android { } } - viewBinding.enabled = true + buildFeatures.viewBinding = true defaultConfig { applicationId 'dev.msfjarvis.aps' @@ -107,12 +107,13 @@ dependencies { implementation deps.third_party.ssh_auth implementation deps.third_party.timber implementation deps.third_party.timberkt - implementation deps.third_party.whatthestack if (isSnapshot()) { implementation deps.third_party.leakcanary + implementation deps.third_party.whatthestack } else { debugImplementation deps.third_party.leakcanary + debugImplementation deps.third_party.whatthestack } // Testing-only dependencies diff --git a/app/src/main/java/com/zeapo/pwdstore/Application.kt b/app/src/main/java/com/zeapo/pwdstore/Application.kt index ec115639..b0c4eec0 100644 --- a/app/src/main/java/com/zeapo/pwdstore/Application.kt +++ b/app/src/main/java/com/zeapo/pwdstore/Application.kt @@ -13,7 +13,6 @@ import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES import androidx.preference.PreferenceManager import com.github.ajalt.timberkt.Timber.DebugTree import com.github.ajalt.timberkt.Timber.plant -import com.haroldadmin.whatthestack.WhatTheStack import org.bouncycastle.jce.provider.BouncyCastleProvider import java.security.Security @@ -27,7 +26,6 @@ class Application : android.app.Application(), SharedPreferences.OnSharedPrefere prefs = PreferenceManager.getDefaultSharedPreferences(this) if (BuildConfig.ENABLE_DEBUG_FEATURES || prefs?.getBoolean("enable_debug_logging", false) == true) { plant(DebugTree()) - WhatTheStack(this).init() } prefs?.registerOnSharedPreferenceChangeListener(this) setNightMode() |