From 44965d8928f863d68d42e1491f73830e3a1e9e74 Mon Sep 17 00:00:00 2001 From: mohammad Date: Thu, 14 Nov 2024 09:34:33 +0300 Subject: [PATCH] SOS --- assets/icons/sos_device.svg | 23 ++++++++++++++++++++ lib/features/devices/model/device_model.dart | 2 ++ lib/generated/assets.dart | 1 + 3 files changed, 26 insertions(+) create mode 100644 assets/icons/sos_device.svg diff --git a/assets/icons/sos_device.svg b/assets/icons/sos_device.svg new file mode 100644 index 0000000..6f36bac --- /dev/null +++ b/assets/icons/sos_device.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/features/devices/model/device_model.dart b/lib/features/devices/model/device_model.dart index f1af2f3..cf3cd36 100644 --- a/lib/features/devices/model/device_model.dart +++ b/lib/features/devices/model/device_model.dart @@ -78,6 +78,8 @@ class DeviceModel { tempIcon = Assets.waterLeakIcon; } else if (type == DeviceType.PC) { tempIcon = Assets.powerClampIcon; + } else if (type == DeviceType.SOS) { + tempIcon = Assets.sosDevice; } else { tempIcon = Assets.assetsIconsLogo; } diff --git a/lib/generated/assets.dart b/lib/generated/assets.dart index 8cc72c9..490d9a7 100644 --- a/lib/generated/assets.dart +++ b/lib/generated/assets.dart @@ -1106,6 +1106,7 @@ class Assets { static const String updateIcon = "assets/icons/update_icon.svg"; static const String emptyUpdateIcon = "assets/icons/empty_update_icon.svg"; static const String checkUpdateIcon = "assets/icons/check_update_icon.svg"; + static const String sosDevice = "assets/icons/sos_device.svg"; }