Skip to content

Commit

Permalink
Update BaseService.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
muneebwanee authored Feb 28, 2021
1 parent e64aef4 commit 4d923c4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.github.muneebwanee.dash.services.base
import android.app.Service
import android.content.Intent
import android.os.IBinder
import com.github.muneebwanee.dash.app.IsTheApp
import com.github.muneebwanee.dash.app.Dash
import com.github.muneebwanee.dash.di.component.DaggerServiceComponent
import com.github.muneebwanee.dash.di.component.ServiceComponent
import com.github.muneebwanee.dash.di.module.ServiceModule
Expand All @@ -29,7 +29,7 @@ abstract class BaseService : Service(), InterfaceService {
super.onCreate()
serviceComponent = DaggerServiceComponent.builder()
.serviceModule(ServiceModule(this))
.appComponent(IsTheApp.appComponent).build()
.appComponent(Dash.appComponent).build()
compositeDisposable = CompositeDisposable()
}

Expand All @@ -43,4 +43,4 @@ abstract class BaseService : Service(), InterfaceService {
override fun clearDisposable() = compositeDisposable.clear()


}
}

0 comments on commit 4d923c4

Please sign in to comment.