Correct iconography for missed calls

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-25 08:37:25 +02:00
parent 4aa8d8ff21
commit aedd535c92
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D
2 changed files with 9 additions and 0 deletions

View file

@ -43,6 +43,14 @@ limitations under the License.
}
}
&.mx_CallEvent_voice.mx_CallEvent_missed .mx_CallEvent_type_icon::before {
mask-image: url('$(res)/img/voip/missed-voice.svg');
}
&.mx_CallEvent_video.mx_CallEvent_missed .mx_CallEvent_type_icon::before {
mask-image: url('$(res)/img/voip/missed-video.svg');
}
.mx_CallEvent_info {
display: flex;
flex-direction: row;

View file

@ -191,6 +191,7 @@ export default class CallEvent extends React.Component<IProps, IState> {
mx_CallEvent: true,
mx_CallEvent_voice: isVoice,
mx_CallEvent_video: !isVoice,
mx_CallEvent_missed: this.state.callState === CustomCallState.Missed,
});
return (