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

@ -31,7 +31,7 @@ class SceneDevicesBody extends StatelessWidget {
SceneDevicesBodyTabBar(
tabController: tabController,
rooms: rooms,
selectedRoomId: state is TabSelected ? state.roomId : '-1',
selectedRoomId: state is TabBarTabSelectedState ? state.roomId : '-1',
),
Expanded(
child: TabBarView(