fix theme setting

This commit is contained in:
Salvatore Giordano
2020-12-31 15:06:45 +01:00
parent a35e882689
commit 18b4598147
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -350,8 +350,7 @@ class _AdvancedOptionsPageState extends State<AdvancedOptionsPage> {
return MaterialApp(
theme: ThemeData.light(),
darkTheme: ThemeData.dark(),
//TODO change to system once dark theme is implemented
themeMode: ThemeMode.light,
themeMode: ThemeMode.system,
builder: (context, widget) {
return StreamChat(
child: widget,