Merge pull request #107 from GetStream/hotfix/example

fix single conversation example
This commit is contained in:
Salvatore Giordano
2020-10-20 10:23:14 +02:00
committed by GitHub
2 changed files with 10 additions and 7 deletions
+9 -6
View File
@@ -52,12 +52,15 @@ class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: StreamChat(
client: client,
child: StreamChannel(
channel: channel,
child: ChannelPage(),
),
builder: (context, widget) {
return StreamChat(
child: widget,
client: client,
);
},
home: StreamChannel(
channel: channel,
child: ChannelPage(),
),
);
}
+1 -1
View File
@@ -1,6 +1,6 @@
name: example
description: A new Flutter project.
version: 1.0.20+21
version: 1.0.21+22
environment:
sdk: ">=2.2.2 <3.0.0"