improve backwards compat for avatar shadows

This commit is contained in:
Henry Jameson 2024-02-21 12:33:33 +02:00
parent da0db933d9
commit 900eb34186

View File

@ -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
} }