package com.kevoroid.andhackernews;

import android.app.Application;

import com.squareup.leakcanary.LeakCanary;

/**
 * Created by kevin on 5/28/17.
 */

public class AndHackerNewsApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        LeakCanary.install(this);
    }
}

@@ -111,49 +111,8 @@
 y;%0A%0A
-/**%0A * Created by kevin on 5/28/17.%0A */%0A%0A
 publ
@@ -168,20 +168,17 @@
 tion %7B%0A%0A
-    
+%09
 @Overrid
@@ -179,20 +179,17 @@
 verride%0A
-    
+%09
 public v
@@ -205,24 +205,18 @@
 ate() %7B%0A
-        
+%09%09
 super.on
@@ -229,16 +229,95 @@
 ();%0A
-        
+%09%09initLeakCanary();%0A%09%7D%0A%0A%09private void initLeakCanary() %7B%0A%09%09if (BuildConfig.DEBUG) %7B%0A%09%09%09
 Leak
@@ -342,12 +342,13 @@
 s);%0A
-    
+%09%09%7D%0A%09
 %7D%0A%7D%0A

update to application class for leakcanary