fix: fix channel null error

This commit is contained in:
Deven Joshi
2021-01-04 14:29:18 +05:30
parent 94555a7565
commit 54efd6f3de
+4
View File
@@ -92,6 +92,10 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
StreamBuilder<ChannelState>(
stream: channel.channelStateStream,
builder: (context, state) {
if (!state.hasData) {
return CircularProgressIndicator();
}
return Text(
_getChannelName(
2 * MediaQuery.of(context).size.width / 3,