Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: bring back animated theme (#7988)
Richard Shiue37107669e499
diff --git a/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart b/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dartindex e35bb29843..ca00323cdc 100644--- a/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart+++ b/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart@@ -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),diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/appflowy_theme.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/appflowy_theme.dartindex b8dc5a1149..26e45ca8f1 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/appflowy_theme.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/appflowy_theme.dart@@ -132,7 +132,7 @@ class _AnimatedThemeState@overrideWidget build(BuildContext context) {return AppFlowyTheme(- data: widget.data,+ data: data!.evaluate(animation),child: widget.child,);}