push selectAll bug, design and icons fixes

This commit is contained in:
ashrafzarkanisala
2024-09-24 22:10:36 +03:00
parent 215fe60bc0
commit e690ddc23a
10 changed files with 85 additions and 37 deletions

View File

@ -46,6 +46,7 @@ class AcDeviceBatchControlView extends StatelessWidget
),
children: [
ToggleWidget(
icon: Assets.ac,
deviceId: devicesIds.first,
code: 'switch',
value: state.status.acSwitch,

View File

@ -40,6 +40,7 @@ class BatchFanSpeedControl extends StatelessWidget {
value == FanSpeeds.low),
],
),
const SizedBox(height: 8),
Wrap(
runSpacing: 8,
spacing: 8,

View File

@ -43,7 +43,7 @@ class AcToggle extends StatelessWidget {
child: Container(
color: ColorsManager.whiteColors,
child: SvgPicture.asset(
icon ?? Assets.acDevice,
icon ?? Assets.lightPulp,
width: 60,
height: 60,
fit: BoxFit.cover,

View File

@ -40,6 +40,7 @@ class FanSpeedControl extends StatelessWidget {
value == FanSpeeds.low),
],
),
const SizedBox(height: 8),
Wrap(
runSpacing: 8,
spacing: 8,