update llc dependency and hotfixes

This commit is contained in:
Salvatore Giordano
2020-10-12 11:15:37 +02:00
parent 05fd5858f4
commit efced08641
6 changed files with 34 additions and 21 deletions
+2 -1
View File
@@ -135,7 +135,8 @@ class ChannelsBlocState extends State<ChannelsBloc>
newChannels.insert(0, _hiddenChannels[hiddenIndex]);
_hiddenChannels.removeAt(hiddenIndex);
} else {
if (client.state.channels[e.cid] != null) {
if (client.state?.channels != null &&
client.state?.channels[e.cid] != null) {
newChannels.insert(0, client.state.channels[e.cid]);
}
}