Fixed design issues

This commit is contained in:
Abdullah Alassaf
2024-06-30 15:37:00 +03:00
parent 32785816f2
commit 50aca65c8f
2 changed files with 8 additions and 12 deletions
@@ -41,8 +41,7 @@ class SceneDevicesBody extends StatelessWidget {
text: e.name ?? '',
textAlign: TextAlign.start,
style: context.bodyLarge.copyWith(
color: (tabState is TabSelected) &&
tabState.roomId == e.id
color: (tabState is TabSelected) && tabState.roomId == e.id
? ColorsManager.textPrimaryColor
: ColorsManager.textPrimaryColor.withOpacity(0.2),
),
@@ -55,6 +54,7 @@ class SceneDevicesBody extends StatelessWidget {
Expanded(
child: TabBarView(
controller: _tabController,
physics: const NeverScrollableScrollPhysics(),
children: rooms!.map((e) => _buildRoomTab(e, context)).toList(),
),
),