remove additional navigator widget

This commit is contained in:
Salvatore Giordano
2020-05-14 10:30:56 +02:00
parent 2de3cc2b69
commit cb284f773b
17 changed files with 148 additions and 104 deletions
+6 -5
View File
@@ -95,12 +95,13 @@ class MyApp extends StatelessWidget {
theme: ThemeData.light(),
darkTheme: ThemeData.dark(),
themeMode: ThemeMode.system,
home: Container(
child: StreamChat(
builder: (context, widget) {
return StreamChat(
child: widget,
client: client,
child: ChannelListPage(),
),
),
);
},
home: ChannelListPage(),
);
}
}