mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 11:20:47 +01:00
Add invite friends action button and text.
This commit is contained in:
@@ -233,6 +233,15 @@ public final class ConversationUpdateItem extends LinearLayout
|
||||
actionButton.setVisibility(GONE);
|
||||
actionButton.setOnClickListener(null);
|
||||
}
|
||||
} else if (conversationMessage.getMessageRecord().isSelfCreatedGroup()) {
|
||||
actionButton.setText(R.string.ConversationUpdateItem_invite_friends);
|
||||
actionButton.setVisibility(VISIBLE);
|
||||
actionButton.setOnClickListener(v -> {
|
||||
if (batchSelected.isEmpty() && eventListener != null) {
|
||||
// TODO [alan]
|
||||
Log.i(TAG, "TODO");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
actionButton.setVisibility(GONE);
|
||||
actionButton.setOnClickListener(null);
|
||||
|
||||
Reference in New Issue
Block a user