Fix QR code handler not running on UI thread

This commit is contained in:
Mikunj Varsani
2020-03-13 10:56:25 +11:00
parent 983b137cd6
commit 449a53ea32
3 changed files with 17 additions and 16 deletions

View File

@@ -797,6 +797,7 @@ public class ConversationItem extends LinearLayout
}
private void setContactPhoto(@NonNull Recipient recipient) {
if (messageRecord == null) return;
LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams)bodyBubble.getLayoutParams();
int groupThreadMargin = (int)(getResources().getDimension(R.dimen.large_spacing) + getResources().getDimension(R.dimen.small_profile_picture_size));
int defaultMargin = 0;