fix(rn,dynamic-branding) filter out gradients
This commit is contained in:
parent
6718ba7423
commit
4a04b8b5ee
|
@ -31,6 +31,12 @@ MiddlewareRegistry.register(store => next => action => {
|
|||
didPageUrl,
|
||||
inviteDomain
|
||||
};
|
||||
|
||||
// TODO: implement support for gradients.
|
||||
action.value.avatarBackgrounds = avatarBackgrounds.filter(
|
||||
color => !color.includes('linear-gradient')
|
||||
);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue