mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-26 17:43:11 +01:00
This 2 services can also be Lazy
This commit is contained in:
parent
0449606f0b
commit
016551f79f
@ -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 New Issue
Block a user