xulei il y a 7 mois
Parent
commit
85e1399c04
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      home/src/main/java/com/swago/home/MessageFragment.kt

+ 1 - 1
home/src/main/java/com/swago/home/MessageFragment.kt

@@ -42,7 +42,7 @@ class MessageFragment : BaseXFragment<FragmentMessageBinding>() {
         binding.conversation.initDefault()
         binding.conversation.conversationList.setOnItemClickListener { view, position, messageInfo ->
             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 ->
                     if (allGranted) {
                         ARouter.getInstance().build(ARouteConstant.Home.chatDetail)