fix message widget

This commit is contained in:
Salvatore Giordano
2020-04-09 10:16:57 +02:00
parent a163964fe5
commit 5a38908bfb
2 changed files with 20 additions and 57 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ void main() async {
final client = Client(
's2dxdhpxd94g',
logLevel: Level.INFO,
notificationHandler: _handleBackgroundNotification,
customAndroidNotificationHandler: _handleBackgroundNotification,
);
await client.setUser(
@@ -51,7 +51,7 @@ class MyApp extends StatelessWidget {
return MaterialApp(
theme: ThemeData.light(),
darkTheme: ThemeData.dark(),
themeMode: ThemeMode.system,
themeMode: ThemeMode.dark,
home: Container(
child: StreamChat(
client: client,