Fix audio player modal having white-on-white buttons in light theme (#33444)

This commit is contained in:
Claire 2025-01-03 22:51:51 +01:00 committed by GitHub
parent 7d6da219c0
commit 02fe176fd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 0 deletions

View file

@ -37,6 +37,10 @@ class VideoModal extends ImmutablePureComponent {
}
}
componentWillUnmount () {
this.props.onChangeBackgroundColor(null);
}
render () {
const { media, status, onClose } = this.props;
const options = this.props.options || {};