fix issue #4 not disposing the client when disposing StreamChat widget
This commit is contained in:
@@ -28,11 +28,9 @@ class MyApp extends StatelessWidget {
|
||||
brightness: Brightness.light,
|
||||
),
|
||||
),
|
||||
home: Container(
|
||||
child: StreamChat(
|
||||
client: client,
|
||||
child: ChannelListPage(),
|
||||
),
|
||||
home: StreamChat(
|
||||
client: client,
|
||||
child: ChannelListPage(),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user