android-dark: Constrain light play icon to with peer image

This commit is contained in:
Scott Nonnenberg 2018-04-12 12:49:01 -07:00
parent bdaebc24ae
commit b458c7d449
No known key found for this signature in database
GPG key ID: 5F82280C35134661
2 changed files with 3 additions and 3 deletions

View file

@ -227,7 +227,7 @@ $text-dark_l2: darken($text-dark, 30%);
.outgoing .bubble .quote .icon-container .icon {
background-color: black;
&.play.white {
&.play.with-image {
background-color: $text-dark;
}
}
@ -239,7 +239,7 @@ $text-dark_l2: darken($text-dark, 30%);
.circle-background {
background-color: $text-dark;
}
.icon.play.white {
.icon.play.with-image {
background-color: $text-dark;
}
}

View file

@ -54,7 +54,7 @@ function getObjectUrl(thumbnail: Attachment | undefined): string | null {
export class Quote extends React.Component<Props, {}> {
public renderImage(url: string, icon?: string) {
const iconElement = icon
? <div className={classnames('icon', 'white', icon)} />
? <div className={classnames('icon', 'with-image', icon)} />
: null;
return (