mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-19 12:24:53 -04:00
chore: use the animated appflowy theme widget
This commit is contained in:
parent
8b303b7e9d
commit
44c341de61
2 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ class _ApplicationWidgetState extends State<ApplicationWidget> {
|
|||
final themeBuilder = AppFlowyDefaultTheme();
|
||||
final brightness = Theme.of(context).brightness;
|
||||
|
||||
return AppFlowyTheme(
|
||||
return AnimatedAppFlowyTheme(
|
||||
data: brightness == Brightness.light
|
||||
? themeBuilder.light()
|
||||
: themeBuilder.dark(),
|
||||
|
|
|
@ -30,7 +30,7 @@ class MyApp extends StatelessWidget {
|
|||
final themeData =
|
||||
themeMode == ThemeMode.light ? ThemeData.light() : ThemeData.dark();
|
||||
|
||||
return AppFlowyTheme(
|
||||
return AnimatedAppFlowyTheme(
|
||||
data: themeMode == ThemeMode.light
|
||||
? themeBuilder.light()
|
||||
: themeBuilder.dark(),
|
||||
|
|
Loading…
Add table
Reference in a new issue