mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 03:11:10 +01:00
Fix several ChatColors issues.
This commit is contained in:
@@ -1531,8 +1531,9 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
|
||||
public @NonNull List<Projection> getColorizerProjections() {
|
||||
List<Projection> projections = new LinkedList<>();
|
||||
|
||||
if (messageRecord.isOutgoing() &&
|
||||
!hasNoBubble(messageRecord) &&
|
||||
if (messageRecord.isOutgoing() &&
|
||||
!hasNoBubble(messageRecord) &&
|
||||
!messageRecord.isRemoteDelete() &&
|
||||
bodyBubbleCorners != null)
|
||||
{
|
||||
projections.add(Projection.relativeToViewRoot(bodyBubble, bodyBubbleCorners).translateX(bodyBubble.getTranslationX()));
|
||||
|
||||
@@ -51,7 +51,7 @@ sealed class ChatColorSelectionRepository(context: Context) {
|
||||
if (wallpaper != null) {
|
||||
consumer(wallpaper.autoChatColors)
|
||||
} else {
|
||||
consumer(ChatColorsPalette.Bubbles.default)
|
||||
consumer(ChatColorsPalette.Bubbles.default.withId(ChatColors.Id.Auto))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ data class ChatColorSelectionState(
|
||||
)
|
||||
} else {
|
||||
ChatColorMappingModel(
|
||||
ChatColorsPalette.Bubbles.default,
|
||||
ChatColorsPalette.Bubbles.default.withId(ChatColors.Id.Auto),
|
||||
chatColors?.id == ChatColors.Id.Auto,
|
||||
true
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user