Update vector/src/main/java/im/vector/riotx/features/home/room/detail/RoomDetailFragment.kt

This commit is contained in:
Benoit Marty 2020-07-03 12:28:38 +02:00 committed by GitHub
parent 85ee183e4f
commit c4ad90696f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1355,7 +1355,7 @@ class RoomDetailFragment @Inject constructor(
private fun onSaveActionClicked(action: EventSharedAction.Save) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q
!checkPermissions(PERMISSIONS_FOR_WRITING_FILES, this, SAVE_ATTACHEMENT_REQUEST_CODE)) {
&& !checkPermissions(PERMISSIONS_FOR_WRITING_FILES, this, SAVE_ATTACHEMENT_REQUEST_CODE)) {
sharedActionViewModel.pendingAction = action
return
}