Update TraceDroid to jitpack
This commit is contained in:
parent
3f90f16fef
commit
2632e045ab
|
@ -179,8 +179,7 @@ dependencies {
|
|||
|
||||
implementation 'com.karumi:dexter:6.2.2'
|
||||
|
||||
implementation 'com.github.ligi.tracedroid:lib:3.0'
|
||||
implementation 'com.github.ligi.tracedroid:supportemail:3.0'
|
||||
implementation 'com.github.ligi:tracedroid:4.1'
|
||||
|
||||
implementation 'me.relex:circleindicator:2.1.4'
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ import com.mikepenz.materialdrawer.model.interfaces.*
|
|||
import com.mikepenz.materialdrawer.util.AbstractDrawerImageLoader
|
||||
import com.mikepenz.materialdrawer.util.DrawerImageLoader
|
||||
import com.mikepenz.materialdrawer.widget.AccountHeaderView
|
||||
import org.ligi.tracedroid.sending.TraceDroidEmailSender
|
||||
import retrofit2.HttpException
|
||||
import java.io.IOException
|
||||
|
||||
|
@ -69,8 +68,6 @@ class MainActivity : BaseActivity() {
|
|||
launchActivity(LoginActivity(), firstTime = true)
|
||||
finish()
|
||||
} else {
|
||||
TraceDroidEmailSender.sendStackTraces("contact@pixeldroid.org", this)
|
||||
|
||||
setupDrawer()
|
||||
|
||||
val tabs: List<() -> Fragment> = listOf(
|
||||
|
|
|
@ -5,6 +5,7 @@ import androidx.preference.PreferenceManager
|
|||
import com.h.pixeldroid.utils.di.*
|
||||
import com.mikepenz.iconics.Iconics
|
||||
import org.ligi.tracedroid.TraceDroid
|
||||
import org.ligi.tracedroid.sending.sendTraceDroidStackTracesIfExist
|
||||
|
||||
|
||||
class PixelDroidApplication: Application() {
|
||||
|
@ -13,7 +14,10 @@ class PixelDroidApplication: Application() {
|
|||
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
|
||||
TraceDroid.init(this)
|
||||
sendTraceDroidStackTracesIfExist("contact@pixeldroid.org", this)
|
||||
|
||||
val sharedPreferences =
|
||||
PreferenceManager.getDefaultSharedPreferences(this)
|
||||
setThemeFromPreferences(sharedPreferences, resources)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.4.21'
|
||||
ext.kotlin_version = '1.4.31'
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
|
|
Loading…
Reference in New Issue