Editable search data collections

This commit is contained in:
2024-08-15 20:10:07 +08:00
parent 09e904f52f
commit 403639088f
12 changed files with 439 additions and 184 deletions

View File

@@ -66,7 +66,7 @@ class AlertDetectResultDialog extends StatelessWidget {
],
),
subtitle: Text(
'${item.current} ${(item.difference ?? 0) > 0 ? '' : ''}${item.difference?.abs()} ${item.unitName}',
'${item.current ?? 'undetected'.tr} ${(item.difference ?? 0) > 0 ? '' : ''}${item.difference?.abs().toPrecision(2) ?? '-'} ${item.unitName ?? ''}',
),
);
},