Skip to content

Commit

Permalink
Fix _validateTitleTransformer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas-Sander committed Oct 9, 2023
1 parent 8901848 commit 1435b74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/lib/blocs/homework/homework_dialog_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ class HomeworkDialogBloc extends BlocBase {
handleData: (title, sink) {
if (isEmptyOrNull(title)) {
sink.addError(EmptyTitleException());
} else {
sink.add(title!);
}
});

Expand Down

0 comments on commit 1435b74

Please sign in to comment.