From 85e3e1ad0e9ba32ac6dd72d3c170dc3b744bb877 Mon Sep 17 00:00:00 2001 From: Mikkeli Date: Sun, 11 Oct 2026 17:43:52 +0900 Subject: [PATCH] Link bar: four digits of message age are enough (the link is dead after 5 s) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz --- lib/main.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index db7958b..ae5eb1d 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -202,8 +202,8 @@ class LinkBar extends StatelessWidget { final age = b.lastMessage == null ? pad('—', 4) : pad( - '${DateTime.now().difference(b.lastMessage!).inMilliseconds.clamp(0, 99999)}', - 5, + '${DateTime.now().difference(b.lastMessage!).inMilliseconds.clamp(0, 9999)}', + 4, ); final offset = b.clockOffset == null ? pad('—', 6)