aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle6
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt9
2 files changed, 0 insertions, 15 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 5a8d7710..d3967ba3 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -283,13 +283,7 @@ dependencies {
//noinspection GradleDependency
kapt kau.Dependencies.glideKapt
- //noinspection GradleDependency
- releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
- //noinspection GradleDependency
- releaseTestImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
- //noinspection GradleDependency
debugImplementation "com.squareup.leakcanary:leakcanary-android:${Versions.leakCanary}"
-// testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${Versions.leakCanary}"
//Icons
implementation kau.Dependencies.iconicsMaterial
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
index 684c54a4..a11006e2 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
@@ -41,20 +41,11 @@ import org.koin.core.context.startKoin
*/
class FrostApp : Application() {
-// companion object {
-// fun refWatcher(c: Context) = (c.applicationContext as FrostApp).refWatcher
-// }
-
-// lateinit var refWatcher: RefWatcher
-
override fun onCreate() {
if (!buildIsLollipopAndUp) { // not supported
super.onCreate()
return
}
-
-// if (LeakCanary.isInAnalyzerProcess(this)) return
-// refWatcher = LeakCanary.install(this)
initPrefs()
initBugsnag()