Browse Source

bira

pull/61/merge
Thodoris1999 6 years ago
parent
commit
b60a206474
  1. 3
      app/src/main/java/gr/thmmy/mthmmy/base/BaseApplication.java

3
app/src/main/java/gr/thmmy/mthmmy/base/BaseApplication.java

@ -68,8 +68,6 @@ public class BaseApplication extends Application {
// Initialize Timber
if (BuildConfig.DEBUG)
Timber.plant(new Timber.DebugTree());
else
Timber.plant(new CrashReportingTree());
//Shared Preferences
SharedPreferences sharedPrefs = getSharedPreferences(SHARED_PREFS, MODE_PRIVATE);
@ -82,6 +80,7 @@ public class BaseApplication extends Application {
.build();
// Initialize Fabric with the debug-disabled Crashlytics.
Fabric.with(this, crashlyticsKit);
Timber.plant(new CrashReportingTree());
Timber.i("Starting app with Crashlytics enabled.");
} else
Timber.i("Starting app with Crashlytics disabled.");

Loading…
Cancel
Save