mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-11 09:23:50 +01:00
Merge pull request #5558 from vector-im/feature/adm/crash-when-tapping-verification-item
Fixing crash when tapping timeline verification item
This commit is contained in:
commit
36564d3657
1
changelog.d/5540.bugfix
Normal file
1
changelog.d/5540.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fixes crash when tapping the timeline verification surround box instead of the buttons
|
@ -1771,13 +1771,11 @@ class TimelineFragment @Inject constructor(
|
||||
}
|
||||
is RoomDetailAction.ResumeVerification -> {
|
||||
val otherUserId = data.otherUserId ?: return
|
||||
VerificationBottomSheet().apply {
|
||||
setArguments(VerificationBottomSheet.VerificationArgs(
|
||||
otherUserId = otherUserId,
|
||||
verificationId = data.transactionId,
|
||||
roomId = timelineArgs.roomId
|
||||
))
|
||||
}.show(parentFragmentManager, "REQ")
|
||||
VerificationBottomSheet.withArgs(
|
||||
roomId = timelineArgs.roomId,
|
||||
otherUserId = otherUserId,
|
||||
transactionId = data.transactionId,
|
||||
).show(parentFragmentManager, "REQ")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user