mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 21:47:33 +00:00
Make contact photos optional when sharing contacts.
Previously, if you had a contact photo for a user, we'd always send it Now you can choose whether or not it is sent.
This commit is contained in:
@@ -12,16 +12,12 @@
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<org.thoughtcrime.securesms.components.AvatarImageView
|
||||
android:id="@+id/editable_contact_avatar"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_margin="12dp"/>
|
||||
|
||||
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
||||
android:id="@+id/editable_contact_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp"
|
||||
android:maxLines="2"
|
||||
|
@@ -9,6 +9,15 @@
|
||||
android:paddingBottom="5dp"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_field_avatar"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:visibility="gone"
|
||||
tools:src="@drawable/ic_contact_picture" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_field_icon"
|
||||
android:layout_width="24dp"
|
||||
|
Reference in New Issue
Block a user