mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
Update dialog header to reflect sensor condition type dynamically
This commit is contained in:
@ -66,7 +66,9 @@ class _CeilingSensorDialogState extends State<CeilingSensorDialog> {
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
const DialogHeader('Presence Sensor Condition'),
|
||||
DialogHeader(
|
||||
'Presence Sensor ${widget.dialogType == "IF" ? 'Conditions' : 'Functions'}',
|
||||
),
|
||||
Expanded(child: _buildMainContent(context, state)),
|
||||
DialogFooter(
|
||||
onCancel: () => Navigator.pop(context),
|
||||
|
Reference in New Issue
Block a user