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)
|
.orDefault(defaultFontFamily)
|
||||||
.fontFamilyName;
|
.fontFamilyName;
|
||||||
|
|
||||||
return AppFlowyTheme(
|
return AnimatedAppFlowyTheme(
|
||||||
data: brightness == Brightness.light
|
data: brightness == Brightness.light
|
||||||
? themeBuilder.light(fontFamily: fontFamily)
|
? themeBuilder.light(fontFamily: fontFamily)
|
||||||
: themeBuilder.dark(fontFamily: fontFamily),
|
: themeBuilder.dark(fontFamily: fontFamily),
|
||||||
|
@ -132,7 +132,7 @@ class _AnimatedThemeState
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return AppFlowyTheme(
|
return AppFlowyTheme(
|
||||||
data: widget.data,
|
data: data!.evaluate(animation),
|
||||||
child: widget.child,
|
child: widget.child,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user