Message / Voice: Color fixes (#1425)
This commit is contained in:
parent
37f5d026bb
commit
e01ccf27d4
@ -144,7 +144,7 @@
|
||||
height: 0.4rem;
|
||||
border-radius: 50%;
|
||||
|
||||
background-color: var(--color-text-secondary);
|
||||
background-color: var(--accent-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -250,8 +250,14 @@ const Audio: FC<OwnProps> = ({
|
||||
|
||||
const isOwn = isOwnMessage(message);
|
||||
const renderedWaveform = useMemo(
|
||||
() => voice && renderWaveform(voice, playProgress, isOwn, theme, seekerRef),
|
||||
[voice, playProgress, isOwn, theme],
|
||||
() => voice && renderWaveform(
|
||||
voice,
|
||||
(isMediaUnread && !isOwn) ? 1 : playProgress,
|
||||
isOwn,
|
||||
theme,
|
||||
seekerRef,
|
||||
),
|
||||
[voice, isMediaUnread, isOwn, playProgress, theme],
|
||||
);
|
||||
|
||||
const fullClassName = buildClassName(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user