mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Move to quoted message on quote preview click.
This commit is contained in:
@@ -220,6 +220,9 @@ public class InputPanel extends ConstraintLayout
|
||||
@NonNull QuoteModel.Type quoteType)
|
||||
{
|
||||
this.quoteView.setQuote(requestManager, id, author, body, false, attachments, null, quoteType);
|
||||
if (listener != null) {
|
||||
this.quoteView.setOnClickListener(v -> listener.onQuoteClicked(id, author.getId()));
|
||||
}
|
||||
|
||||
int originalHeight = this.quoteView.getVisibility() == VISIBLE ? this.quoteView.getMeasuredHeight()
|
||||
: 0;
|
||||
@@ -817,6 +820,7 @@ public class InputPanel extends ConstraintLayout
|
||||
void onStickerSuggestionSelected(@NonNull StickerRecord sticker);
|
||||
void onQuoteChanged(long id, @NonNull RecipientId author);
|
||||
void onQuoteCleared();
|
||||
void onQuoteClicked(long quoteId, RecipientId authorId);
|
||||
void onEnterEditMode();
|
||||
void onExitEditMode();
|
||||
void onQuickCameraToggleClicked();
|
||||
|
||||
Reference in New Issue
Block a user