mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-06-27 02:50:15 +00:00
chore: bring back animated theme (#7988)
This commit is contained in:
parent
caf3512ed8
commit
37107669e4
@ -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),
|
||||
|
@ -132,7 +132,7 @@ class _AnimatedThemeState
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return AppFlowyTheme(
|
||||
data: widget.data,
|
||||
data: data!.evaluate(animation),
|
||||
child: widget.child,
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user