mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-12-11 17:14:32 -05:00
11 lines
265 B
Dart
11 lines
265 B
Dart
|
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);
|
||
|
}
|
||
|
}
|