| .. | .. |
|---|
| 327 | 327 | Widget _buildFooter(BuildContext context) { |
|---|
| 328 | 328 | final isDark = Theme.of(context).brightness == Brightness.dark; |
|---|
| 329 | 329 | final dt = DateTime.fromMillisecondsSinceEpoch(message.timestamp); |
|---|
| 330 | | - final now = DateTime.now(); |
|---|
| 331 | | - final isToday = dt.year == now.year && dt.month == now.month && dt.day == now.day; |
|---|
| 332 | | - final time = isToday |
|---|
| 333 | | - ? DateFormat('HH:mm').format(dt) |
|---|
| 334 | | - : DateFormat('dd.MM. HH:mm').format(dt); |
|---|
| 330 | + final time = DateFormat('dd.MM. HH:mm').format(dt); |
|---|
| 335 | 331 | |
|---|
| 336 | 332 | return Row( |
|---|
| 337 | 333 | mainAxisSize: MainAxisSize.min, |
|---|