From b5539715f3b6fdade7f81c45397290efa6f66d3f Mon Sep 17 00:00:00 2001 From: kleponijo <158453666+kleponijo@users.noreply.github.com> Date: Sat, 9 May 2026 15:43:52 +0700 Subject: [PATCH] Revert "Evaporasi list: show evaporasi + suhu with firebase timestamp" This reverts commit 2675ed7bd408c6f188645e73930b362beb6feb9f. --- .../evaporasi/views/evaporasi_screen.dart | 35 +++++-------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/lib/screens/monitoring/evaporasi/views/evaporasi_screen.dart b/lib/screens/monitoring/evaporasi/views/evaporasi_screen.dart index e1ea08c..cc403a7 100644 --- a/lib/screens/monitoring/evaporasi/views/evaporasi_screen.dart +++ b/lib/screens/monitoring/evaporasi/views/evaporasi_screen.dart @@ -310,11 +310,8 @@ class EvaporasiScreen extends StatelessWidget { separatorBuilder: (_, __) => const Divider(height: 1), itemBuilder: (context, index) { final e = data[index]; - final dateLabel = DateFormat('dd MMM yyyy', 'id_ID') - .format(e.timestamp) + - ' • ' + - DateFormat('HH:mm:ss', 'id_ID').format(e.timestamp); - + final dateLabel = DateFormat('dd MMM yyyy HH:mm:ss', 'id_ID') + .format(e.timestamp); return Padding( padding: const EdgeInsets.symmetric(vertical: 10), child: Row( @@ -331,27 +328,13 @@ class EvaporasiScreen extends StatelessWidget { ), ), const SizedBox(width: 12), - Column( - crossAxisAlignment: CrossAxisAlignment.end, - children: [ - Text( - '${e.evaporasi.toStringAsFixed(1)} mm', - style: const TextStyle( - fontSize: 13, - fontWeight: FontWeight.w700, - color: Colors.blue, - ), - ), - const SizedBox(height: 4), - Text( - '${e.suhu.toStringAsFixed(1)} °C', - style: TextStyle( - fontSize: 12, - fontWeight: FontWeight.w600, - color: Colors.orange.shade700, - ), - ), - ], + Text( + '${e.evaporasi.toStringAsFixed(1)} mm', + style: const TextStyle( + fontSize: 13, + fontWeight: FontWeight.w700, + color: Colors.blue, + ), ), ], ),