mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-10-05 15:23:29 +01:00
Fix touchdelegate RTL issue.
This commit is contained in:
1 parent
5ec6f0a71f
commit
926e3541e6
1 file changed
+7
-1
+7
-1
@@ -167,7 +167,13 @@ public final class ConversationListItem extends ConstraintLayout
|
||||
super.onLayout(changed, left, top, right, bottom);
|
||||
|
||||
contactPhotoImage.getHitRect(newConversationAvatarTouchDelegateBounds);
|
||||
newConversationAvatarTouchDelegateBounds.left = left;
|
||||
|
||||
if (getLayoutDirection() == LAYOUT_DIRECTION_LTR) {
|
||||
newConversationAvatarTouchDelegateBounds.left = left;
|
||||
} else {
|
||||
newConversationAvatarTouchDelegateBounds.right = right;
|
||||
}
|
||||
|
||||
newConversationAvatarTouchDelegateBounds.top = top;
|
||||
newConversationAvatarTouchDelegateBounds.bottom = bottom;
|
||||
|
||||
|
||||
Reference in new issue
Block a user