mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-28 09:59:29 +01:00
Update vector/src/main/java/im/vector/riotx/features/home/room/detail/RoomDetailFragment.kt
This commit is contained in:
parent
85ee183e4f
commit
c4ad90696f
@ -1355,7 +1355,7 @@ class RoomDetailFragment @Inject constructor(
|
|||||||
|
|
||||||
private fun onSaveActionClicked(action: EventSharedAction.Save) {
|
private fun onSaveActionClicked(action: EventSharedAction.Save) {
|
||||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q
|
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
|
sharedActionViewModel.pendingAction = action
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user