🐛 Bug fixes
This commit is contained in:
parent
19c3f07212
commit
f6510bf4c2
@ -142,7 +142,7 @@ class _ContactScreenState extends State<ContactScreen> {
|
|||||||
child: ChatCallCurrentIndicator(),
|
child: ChatCallCurrentIndicator(),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return const SizedBox();
|
return const SliverToBoxAdapter();
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
if (_isBusy)
|
if (_isBusy)
|
||||||
|
@ -38,10 +38,10 @@ class _ChannelListWidgetState extends State<ChannelListWidget> {
|
|||||||
|
|
||||||
for (final channel in widget.channels) {
|
for (final channel in widget.channels) {
|
||||||
if (channel.realmId != null) {
|
if (channel.realmId != null) {
|
||||||
if (_inRealms[channel.alias] == null) {
|
if (_inRealms[channel.realm!.alias] == null) {
|
||||||
_inRealms[channel.alias] = List.empty(growable: true);
|
_inRealms[channel.realm!.alias] = List.empty(growable: true);
|
||||||
}
|
}
|
||||||
_inRealms[channel.alias]!.add(channel);
|
_inRealms[channel.realm!.alias]!.add(channel);
|
||||||
} else if (channel.type == 1) {
|
} else if (channel.type == 1) {
|
||||||
_directMessages.add(channel);
|
_directMessages.add(channel);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user