water heater and timer and schedule ui and api ,

Circulate ui and Inching ui
This commit is contained in:
mohammad
2024-09-21 08:53:43 +03:00
parent 42e76f1c6e
commit c3273c729d
5 changed files with 26 additions and 4 deletions
@@ -62,6 +62,8 @@ class DeviceModel {
tempIcon = Assets.oneGang;
} else if (type == DeviceType.TwoGang) {
tempIcon = Assets.twoGang;
}else if (type == DeviceType.WH) {
tempIcon = Assets.waterHeaterIcon;
} else {
tempIcon = Assets.assetsIconsLogo;
}
@@ -10,9 +10,9 @@ import 'package:syncrow_app/features/devices/view/widgets/water_heater/wh_timer_
import 'package:syncrow_app/features/shared_widgets/default_container.dart';
import 'package:syncrow_app/features/shared_widgets/default_scaffold.dart';
import 'package:syncrow_app/features/shared_widgets/text_widgets/body_small.dart';
import 'package:syncrow_app/generated/assets.dart';
import 'package:syncrow_app/utils/context_extension.dart';
import 'package:syncrow_app/utils/resource_manager/color_manager.dart';
import '../../../../../generated/assets.dart';
class WaterHeaterPage extends StatelessWidget {
final DeviceModel? device;