fix: custom video backgrounds

This commit is contained in:
David Ralph
2021-11-06 11:00:25 +00:00
parent c15f9d20f8
commit 3bc1409f4f
3 changed files with 16 additions and 5 deletions

View File

@@ -210,7 +210,7 @@ export default class Background extends PureComponent {
return this.setState(offlineBackground());
}
if (customBackground !== '' && customBackground !== 'undefined' && customBackground !== ['']) {
if (customBackground !== '' && customBackground !== 'undefined' && customBackground !== [''] && customBackground !== undefined) {
const object = {
url: customBackground,
type: 'custom',