mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Directly show about sheet when you show a recipient sheet for yourself.
This commit is contained in:
committed by
Cody Henthorne
parent
83c1bd61cb
commit
a886e5f9a0
@@ -2725,7 +2725,7 @@ class ConversationFragment :
|
||||
|
||||
override fun onGroupMemberClicked(recipientId: RecipientId, groupId: GroupId) {
|
||||
context ?: return
|
||||
RecipientBottomSheetDialogFragment.create(recipientId, groupId).show(childFragmentManager, BottomSheetUtil.STANDARD_BOTTOM_SHEET_FRAGMENT_TAG)
|
||||
RecipientBottomSheetDialogFragment.show(childFragmentManager, recipientId, groupId)
|
||||
}
|
||||
|
||||
override fun onMessageWithErrorClicked(messageRecord: MessageRecord) {
|
||||
@@ -2858,10 +2858,11 @@ class ConversationFragment :
|
||||
override fun onRecipientNameClicked(target: RecipientId) {
|
||||
context ?: return
|
||||
disposables += viewModel.recipient.firstOrError().observeOn(AndroidSchedulers.mainThread()).subscribeBy {
|
||||
RecipientBottomSheetDialogFragment.create(
|
||||
RecipientBottomSheetDialogFragment.show(
|
||||
parentFragmentManager,
|
||||
target,
|
||||
it.groupId.orElse(null)
|
||||
).show(parentFragmentManager, BottomSheetUtil.STANDARD_BOTTOM_SHEET_FRAGMENT_TAG)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user