|
@@ -42,7 +42,7 @@ class MessageFragment : BaseXFragment<FragmentMessageBinding>() {
|
|
binding.conversation.initDefault()
|
|
binding.conversation.initDefault()
|
|
binding.conversation.conversationList.setOnItemClickListener { view, position, messageInfo ->
|
|
binding.conversation.conversationList.setOnItemClickListener { view, position, messageInfo ->
|
|
PermissionX.init(this)
|
|
PermissionX.init(this)
|
|
- .permissions(Manifest.permission.RECORD_AUDIO,Manifest.permission.CAMERA,Manifest.permission.READ_EXTERNAL_STORAGE)
|
|
|
|
|
|
+ .permissions(Manifest.permission.RECORD_AUDIO,Manifest.permission.CAMERA)
|
|
.request { allGranted, grantedList, deniedList ->
|
|
.request { allGranted, grantedList, deniedList ->
|
|
if (allGranted) {
|
|
if (allGranted) {
|
|
ARouter.getInstance().build(ARouteConstant.Home.chatDetail)
|
|
ARouter.getInstance().build(ARouteConstant.Home.chatDetail)
|