mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Apply several fixes for beta feedback.
* Remove overscroll from avatar picker recyclers. * Center crop wallpaper previews. * If no media thumb exists, return bubble projection instead.
This commit is contained in:
@@ -238,8 +238,8 @@ final class MessageHeaderViewHolder extends RecyclerView.ViewHolder implements G
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NonNull Projection getProjection(@NonNull ViewGroup recyclerview) {
|
||||
return conversationItem.getProjection(recyclerview);
|
||||
public @NonNull Projection getGiphyMp4PlayableProjection(@NonNull ViewGroup recyclerview) {
|
||||
return conversationItem.getGiphyMp4PlayableProjection(recyclerview);
|
||||
}
|
||||
|
||||
@Override public
|
||||
@@ -257,7 +257,7 @@ final class MessageHeaderViewHolder extends RecyclerView.ViewHolder implements G
|
||||
Set<Projection> projections = new HashSet<>();
|
||||
|
||||
if (canPlayContent()) {
|
||||
projections.add(conversationItem.getProjection((ViewGroup) itemView));
|
||||
projections.add(conversationItem.getGiphyMp4PlayableProjection((ViewGroup) itemView));
|
||||
}
|
||||
|
||||
projections.addAll(Stream.of(conversationItem.getColorizerProjections())
|
||||
|
||||
Reference in New Issue
Block a user