mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-23 10:47:55 +00:00
fix icons
This commit is contained in:
@@ -122,8 +122,11 @@ class ThenAddedTasksContainer extends StatelessWidget
|
||||
},
|
||||
child: SceneListTile(
|
||||
padding: EdgeInsets.zero,
|
||||
assetPath: taskItem.icon,
|
||||
iconsSize: 32,
|
||||
leadingWidget: SvgPicture.asset(
|
||||
taskItem.deviceIcon ?? taskItem.icon,
|
||||
fit: BoxFit.fill,
|
||||
),
|
||||
minLeadingWidth: 32,
|
||||
titleWidget: BodyMedium(
|
||||
text: taskItem.deviceName,
|
||||
style: context.bodyMedium.copyWith(
|
||||
|
||||
@@ -41,7 +41,8 @@ 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),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user