Skip to content

Commit 0f9aec4

Browse files
committed
refactor(create_headline_event): remove CreateHeadlineExcerptChanged event
This commit removes the `CreateHeadlineExcerptChanged` event as the `excerpt` field is no longer part of the `Headline` model in the core package.
1 parent 440d2f0 commit 0f9aec4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/content_management/bloc/create_headline/create_headline_event.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ final class CreateHeadlineTitleChanged extends CreateHeadlineEvent {
1616
List<Object?> get props => [title];
1717
}
1818

19-
/// Event for when the headline's excerpt is changed.
20-
final class CreateHeadlineExcerptChanged extends CreateHeadlineEvent {
21-
const CreateHeadlineExcerptChanged(this.excerpt);
22-
final String excerpt;
23-
@override
24-
List<Object?> get props => [excerpt];
25-
}
26-
2719
/// Event for when the headline's URL is changed.
2820
final class CreateHeadlineUrlChanged extends CreateHeadlineEvent {
2921
const CreateHeadlineUrlChanged(this.url);

0 commit comments

Comments
 (0)