mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-12-10 05:56:41 -05:00
chat refactor
This commit is contained in:
parent
4a8958a868
commit
03a6a781a6
18 changed files with 239 additions and 333 deletions
10
lib/chat/cubits/active_chat_cubit.dart
Normal file
10
lib/chat/cubits/active_chat_cubit.dart
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:veilid_support/veilid_support.dart';
|
||||
|
||||
class ActiveChatCubit extends Cubit<TypedKey?> {
|
||||
ActiveChatCubit(super.initialState);
|
||||
|
||||
void setActiveChat(TypedKey? activeChat) {
|
||||
emit(activeChat);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue