mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-24 04:17:54 +00:00
Fixed design issues
This commit is contained in:
@@ -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(),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user