|
@@ -61,7 +61,7 @@ class HomeActivity : BaseXActivity<ActivityHomeBinding>(), IPayCallback {
|
|
|
|
|
|
override fun initOther() {
|
|
override fun initOther() {
|
|
unreadMessageVm = ViewModelProviderUtil.getUnreadMessageViewModel(application)
|
|
unreadMessageVm = ViewModelProviderUtil.getUnreadMessageViewModel(application)
|
|
- TUIKit.init(this, UrlConstant.getImId(), TUIKitConfigs.getConfigs())
|
|
|
|
|
|
+ TUIKit.init(application, UrlConstant.getImId(), TUIKitConfigs.getConfigs())
|
|
PayManager.init()
|
|
PayManager.init()
|
|
IMMessageManager.groupMessageParser.add(GroupMsgParser())
|
|
IMMessageManager.groupMessageParser.add(GroupMsgParser())
|
|
|
|
|