fix: theme follows system
This commit is contained in:
parent
449505c4b8
commit
9e3730fd83
1 changed files with 3 additions and 1 deletions
|
|
@ -27,7 +27,9 @@ class MyApp extends StatelessWidget {
|
|||
],
|
||||
supportedLocales: [const Locale("fr")],
|
||||
routerConfig: router(context.read()),
|
||||
theme: ThemeData.dark(),
|
||||
theme: ThemeData.light(),
|
||||
darkTheme: ThemeData.dark(),
|
||||
themeMode: ThemeMode.system,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue