Merge remote-tracking branch 'loki/dev' into action-bar-back-buttons

This commit is contained in:
Anton Chekulaev 2020-09-18 16:55:03 +10:00
commit 14e810ef55
2 changed files with 2 additions and 1 deletions

View File

@ -155,6 +155,7 @@
<View <View
android:id="@+id/separator" android:id="@+id/separator"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_marginTop="@dimen/medium_spacing"
android:layout_height="1px" android:layout_height="1px"
android:background="?android:dividerHorizontal" /> android:background="?android:dividerHorizontal" />

View File

@ -90,7 +90,7 @@ class UserView : LinearLayout {
actionIndicatorImageView.setImageResource(R.drawable.ic_baseline_edit_24) actionIndicatorImageView.setImageResource(R.drawable.ic_baseline_edit_24)
profilePictureView.glide = glide profilePictureView.glide = glide
profilePictureView.update() profilePictureView.update()
nameTextView.text = getUserDisplayName(address) nameTextView.text = if (user.isGroupRecipient) user.name else getUserDisplayName(address)
when (actionIndicator) { when (actionIndicator) {
ActionIndicator.None -> { ActionIndicator.None -> {
actionIndicatorImageView.visibility = View.GONE actionIndicatorImageView.visibility = View.GONE