Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
@ -19,7 +19,7 @@ abstract class InteractiveBloc extends Bloc {
final _errorsStreamController = StreamController<Object>();
late Stream<Object> errors = _errorsStreamController.stream.asBroadcastStream();
Future<void> refresh();
FutureOr<void> refresh();
void addError(final Object error) {
_errorsStreamController.add(error);
@ -44,7 +44,7 @@ class NewsArticleBloc extends InteractiveBloc implements NewsArticleBlocEvents,
BehaviorSubject<bool> unread = BehaviorSubject<bool>();
@override
Future<void> refresh() async {}
void refresh() {}
void markArticleAsRead() {
@ -62,7 +62,7 @@ class NotesNoteBloc extends InteractiveBloc implements NotesNoteBlocEvents, Note
BehaviorSubject<String> category = BehaviorSubject<String>();
void updateCategory(final String category) {