kopia lustrzana https://github.com/ryukoposting/Signal-Android
Show 'Add to another group' when launched from a group context.
rodzic
d60d67ee7e
commit
47919382e9
|
@ -149,6 +149,7 @@ public final class RecipientBottomSheetDialogFragment extends BottomSheetDialogF
|
|||
});
|
||||
}
|
||||
|
||||
addToGroupButton.setText(groupId == null ? R.string.RecipientBottomSheet_add_to_a_group : R.string.RecipientBottomSheet_add_to_another_group);
|
||||
addToGroupButton.setVisibility(recipient.isRegistered() && !recipient.isGroup() ? View.VISIBLE : View.GONE);
|
||||
});
|
||||
|
||||
|
|
|
@ -126,9 +126,9 @@
|
|||
android:layout_height="56dp"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:text="@string/RecipientBottomSheet_add_to_a_group"
|
||||
android:visibility="gone"
|
||||
app:drawableStartCompat="?attr/recipient_make_admin_icon"
|
||||
tools:text="@string/RecipientBottomSheet_add_to_a_group"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<Button
|
||||
|
|
|
@ -2318,6 +2318,7 @@
|
|||
<string name="RecipientBottomSheet_unblock">Unblock</string>
|
||||
<string name="RecipientBottomSheet_add_to_contacts">Add to contacts</string>
|
||||
<string name="RecipientBottomSheet_add_to_a_group">Add to a group</string>
|
||||
<string name="RecipientBottomSheet_add_to_another_group">Add to another group</string>
|
||||
<string name="RecipientBottomSheet_view_safety_number">View safety number</string>
|
||||
<string name="RecipientBottomSheet_make_group_admin">Make group admin</string>
|
||||
<string name="RecipientBottomSheet_remove_as_admin">Remove as admin</string>
|
||||
|
|
Ładowanie…
Reference in New Issue