mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-24 21:25:35 +01:00
Replace '@JvmField' with 'lateinit'
Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
00f06c6ef2
commit
d5214ee29c
@ -107,12 +107,10 @@ class ConversationInfoController(args: Bundle) :
|
|||||||
private val binding: ControllerConversationInfoBinding by viewBinding(ControllerConversationInfoBinding::bind)
|
private val binding: ControllerConversationInfoBinding by viewBinding(ControllerConversationInfoBinding::bind)
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
@JvmField
|
lateinit var ncApi: NcApi
|
||||||
var ncApi: NcApi? = null
|
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
@JvmField
|
lateinit var eventBus: EventBus
|
||||||
var eventBus: EventBus? = null
|
|
||||||
|
|
||||||
private val conversationToken: String?
|
private val conversationToken: String?
|
||||||
private val conversationUser: User?
|
private val conversationUser: User?
|
||||||
@ -162,7 +160,7 @@ class ConversationInfoController(args: Bundle) :
|
|||||||
|
|
||||||
override fun onAttach(view: View) {
|
override fun onAttach(view: View) {
|
||||||
super.onAttach(view)
|
super.onAttach(view)
|
||||||
eventBus?.register(this)
|
eventBus.register(this)
|
||||||
|
|
||||||
if (databaseStorageModule == null) {
|
if (databaseStorageModule == null) {
|
||||||
databaseStorageModule = DatabaseStorageModule(conversationUser!!, conversationToken)
|
databaseStorageModule = DatabaseStorageModule(conversationUser!!, conversationToken)
|
||||||
|
Loading…
Reference in New Issue
Block a user