mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
This 2 services can also be Lazy
This commit is contained in:
parent
0449606f0b
commit
016551f79f
1 changed files with 4 additions and 4 deletions
|
@ -128,8 +128,8 @@ internal class DefaultSession @Inject constructor(
|
|||
private val accountService: Lazy<AccountService>,
|
||||
private val eventService: Lazy<EventService>,
|
||||
private val contentScannerService: Lazy<ContentScannerService>,
|
||||
private val identityService: IdentityService,
|
||||
private val integrationManagerService: IntegrationManagerService,
|
||||
private val identityService: Lazy<IdentityService>,
|
||||
private val integrationManagerService: Lazy<IntegrationManagerService>,
|
||||
private val thirdPartyService: Lazy<ThirdPartyService>,
|
||||
private val callSignalingService: Lazy<CallSignalingService>,
|
||||
private val spaceService: Lazy<SpaceService>,
|
||||
|
@ -285,7 +285,7 @@ internal class DefaultSession @Inject constructor(
|
|||
|
||||
override fun contentScannerService(): ContentScannerService = contentScannerService.get()
|
||||
|
||||
override fun identityService() = identityService
|
||||
override fun identityService(): IdentityService = identityService.get()
|
||||
|
||||
override fun fileService(): FileService = defaultFileService.get()
|
||||
|
||||
|
@ -295,7 +295,7 @@ internal class DefaultSession @Inject constructor(
|
|||
|
||||
override fun mediaService(): MediaService = mediaService.get()
|
||||
|
||||
override fun integrationManagerService() = integrationManagerService
|
||||
override fun integrationManagerService(): IntegrationManagerService = integrationManagerService.get()
|
||||
|
||||
override fun callSignalingService(): CallSignalingService = callSignalingService.get()
|
||||
|
||||
|
|
Loading…
Reference in a new issue