mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-12-15 16:29:10 -05:00
clean up windows and loading state
This commit is contained in:
parent
ad9a77d68f
commit
d00722433d
13 changed files with 130 additions and 175 deletions
|
|
@ -2,7 +2,6 @@ import 'package:bloc_tools/bloc_tools.dart';
|
|||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:veilid_support/veilid_support.dart';
|
||||
|
||||
|
||||
class ActiveChatCubit extends Cubit<TypedKey?> with BlocTools {
|
||||
ActiveChatCubit(super.initialState);
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ class ChatComponent extends StatelessWidget {
|
|||
AsyncValue<ActiveConversationState>?>(
|
||||
(x) => x.state[remoteConversationRecordKey]);
|
||||
if (avconversation == null) {
|
||||
return debugPage('should always have an active conversation here');
|
||||
return waitingPage();
|
||||
}
|
||||
final conversation = avconversation.data?.value;
|
||||
if (conversation == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue