chore: bring back animated theme (#7988)

This commit is contained in:
Richard Shiue 2025-05-28 22:40:20 +08:00 committed by GitHub
parent caf3512ed8
commit 37107669e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -251,7 +251,7 @@ class _ApplicationWidgetState extends State<ApplicationWidget> {
.orDefault(defaultFontFamily)
.fontFamilyName;
return AppFlowyTheme(
return AnimatedAppFlowyTheme(
data: brightness == Brightness.light
? themeBuilder.light(fontFamily: fontFamily)
: themeBuilder.dark(fontFamily: fontFamily),

View File

@ -132,7 +132,7 @@ class _AnimatedThemeState
@override
Widget build(BuildContext context) {
return AppFlowyTheme(
data: widget.data,
data: data!.evaluate(animation),
child: widget.child,
);
}