mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 01:56:19 +00:00
connected rest of the devices and functions and trigger api
This commit is contained in:
@ -97,7 +97,7 @@ class DeviceFunctionsView extends StatelessWidget
|
||||
BlocBuilder<CreateSceneBloc, CreateSceneState>(
|
||||
builder: (context, state) {
|
||||
return SceneListTile(
|
||||
iconsSize: 32,
|
||||
iconsSize: 22,
|
||||
minLeadingWidth: 20,
|
||||
assetPath: functions[index].icon,
|
||||
titleString: functions[index].operationName,
|
||||
@ -118,7 +118,12 @@ class DeviceFunctionsView extends StatelessWidget
|
||||
alertBody: functions[index].code == 'temp_set'
|
||||
? AlertDialogTemperatureBody(
|
||||
index: index, functions: functions)
|
||||
: functions[index].code.contains('countdown')
|
||||
: (functions[index]
|
||||
.code
|
||||
.contains('countdown') ||
|
||||
functions[index]
|
||||
.code
|
||||
.contains('presence_time'))
|
||||
? AlertDialogCountdown(
|
||||
durationValue: functions[index]
|
||||
.operationalValues
|
||||
|
Reference in New Issue
Block a user