reverted a comment.

This commit is contained in:
Faris Armoush
2025-06-02 14:29:58 +03:00
parent 97801872e0
commit 7bc9079212

View File

@ -62,12 +62,12 @@ class RangeOfAqiChartTitle extends StatelessWidget {
child: FittedBox(
fit: BoxFit.scaleDown,
alignment: AlignmentDirectional.centerEnd,
child: AqiTypeDropdown(
child: AqiTypeDropdown(
onChanged: (value) {
final spaceTreeState = context.read<SpaceTreeBloc>().state;
final spaceUuid = spaceTreeState.selectedSpaces.firstOrNull;
// if (spaceUuid == null) return;
if (spaceUuid == null) return;
if (value != null) {
context.read<RangeOfAqiBloc>().add(UpdateAqiTypeEvent(value));