when use THEN dialog type Funtions is the word but hen if it should be condition

This commit is contained in:
raf-dev1
2025-06-13 16:10:24 +03:00
parent 994e9f4e57
commit 13360fe6f3
11 changed files with 36 additions and 13 deletions

View File

@ -93,7 +93,9 @@ class _WaterHeaterDialogRoutinesState extends State<WaterHeaterDialogRoutines> {
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
const DialogHeader('Water Heater Condition'),
DialogHeader(widget.dialogType == 'THEN'
? 'Water Heater Funtions'
: 'Water Heater Condition'),
Expanded(child: _buildMainContent(context, state)),
_buildDialogFooter(context, state),
],