commit: 900eb34186d6e80af95ea9120c7452b36b1c0f47
parent da0db933d91c7658a33831ce167095073223285d
Author: Henry Jameson <me@hjkos.com>
Date: Wed, 21 Feb 2024 12:33:33 +0200
improve backwards compat for avatar shadows
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/services/theme_data/theme2_to_theme3.js b/src/services/theme_data/theme2_to_theme3.js
@@ -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
}