improve backwards compat for avatar shadows
This commit is contained in:
parent
da0db933d9
commit
900eb34186
@ -199,6 +199,12 @@ export const convertTheme2To3 = (data) => {
|
|||||||
shadow: originalShadow
|
shadow: originalShadow
|
||||||
}
|
}
|
||||||
newRules.push(rule)
|
newRules.push(rule)
|
||||||
|
if (key === 'avatarStatus') {
|
||||||
|
newRules.push({ ...rule, parent: { component: 'Notification' } })
|
||||||
|
}
|
||||||
|
if (key === 'buttonPressed') {
|
||||||
|
newRules.push({ ...rule, state: ['toggled'] })
|
||||||
|
}
|
||||||
})
|
})
|
||||||
return newRules
|
return newRules
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user