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
1 changed files with 6 additions and 0 deletions

View File

@ -199,6 +199,12 @@ export const convertTheme2To3 = (data) => {
shadow: originalShadow
}
newRules.push(rule)
if (key === 'avatarStatus') {
newRules.push({ ...rule, parent: { component: 'Notification' } })
}
if (key === 'buttonPressed') {
newRules.push({ ...rule, state: ['toggled'] })
}
})
return newRules
}