We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dd71a8 commit 673d45bCopy full SHA for 673d45b
lib/content_management/bloc/create_headline/create_headline_bloc.dart
@@ -134,13 +134,7 @@ class CreateHeadlineBloc
134
CreateHeadlineCountryChanged event,
135
Emitter<CreateHeadlineState> emit,
136
) {
137
- final packageCountry = event.country;
138
- if (packageCountry == null) {
139
- emit(state.copyWith(eventCountry: () => null));
140
- } else {
141
- final coreCountry = adaptPackageCountryToCoreCountry(packageCountry);
142
- emit(state.copyWith(eventCountry: () => coreCountry));
143
- }
+ emit(state.copyWith(eventCountry: () => event.country));
144
}
145
146
void _onStatusChanged(
0 commit comments