From 2421215b84a966927fce032f77d29b21821b5e7b Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 9 Nov 2018 10:27:09 +0100 Subject: [PATCH] removing Stetho --- app/build.gradle | 1 - app/src/main/kotlin/com/simplemobiletools/calendar/App.kt | 5 ----- .../simplemobiletools/calendar/activities/MainActivity.kt | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c2a8cc958..dbc54bbd2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -44,7 +44,6 @@ android { dependencies { implementation 'com.simplemobiletools:commons:5.3.15' implementation 'joda-time:joda-time:2.9.9' - implementation 'com.facebook.stetho:stetho:1.5.0' implementation 'androidx.multidex:multidex:2.0.0' } diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/App.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/App.kt index 40a843618..2a9ba0deb 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/App.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/App.kt @@ -1,16 +1,11 @@ package com.simplemobiletools.calendar import androidx.multidex.MultiDexApplication -import com.facebook.stetho.Stetho import com.simplemobiletools.commons.extensions.checkUseEnglish class App : MultiDexApplication() { override fun onCreate() { super.onCreate() - if (BuildConfig.DEBUG) { - Stetho.initializeWithDefaults(this) - } - checkUseEnglish() } } diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt index 69b3a6d07..d4becf2d2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt @@ -710,7 +710,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener { } private fun launchAbout() { - val licenses = LICENSE_JODA or LICENSE_STETHO + val licenses = LICENSE_JODA val faqItems = arrayListOf( FAQItem(R.string.faq_1_title_commons, R.string.faq_1_text_commons),