refactor: rename tab change events and states for consistency, and to match blocs naming convention.

This commit is contained in:
Faris Armoush
2025-04-16 16:07:30 +03:00
parent f25b4dbf6d
commit e4768c95aa
6 changed files with 37 additions and 22 deletions

View File

@ -64,7 +64,7 @@ class _SceneRoomsTabBarDevicesViewState extends State<SceneRoomsTabBarDevicesVie
final index = _tabController.index;
context.read<TabBarBloc>().add(
TabChanged(
TabBarTabChangedEvent(
selectedIndex: index,
roomId: rooms[index].id ?? '',
unit: selectedSpace,