feat: implement refresh button and jump-to-person plus better ws reconnect
This commit is contained in:
9
lib/refresh_cubit.dart
Normal file
9
lib/refresh_cubit.dart
Normal file
@ -0,0 +1,9 @@
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
|
||||
class RefreshCubit extends Cubit<DateTime> {
|
||||
RefreshCubit() : super(DateTime.now());
|
||||
|
||||
void triggerRefresh() {
|
||||
emit(DateTime.now());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user