fix(#173): dates en Merienda, plus grandes, indentées ; sans motif

Retire l’affichage du commentaire / motif sur la bulle.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-01 17:10:41 +02:00
co-authored by Cursor
parent 7705a14bb5
commit 1f985f5b37
+35 -38
View File
@@ -395,44 +395,41 @@ class _BulleTile extends StatelessWidget {
), ),
if (card.dateDebut != null || card.dateFin != null) ...[ if (card.dateDebut != null || card.dateFin != null) ...[
const SizedBox(height: 10), const SizedBox(height: 10),
if (memeJour) Padding(
Text( padding: const EdgeInsets.only(left: 12),
'Le ${_fmtLong(card.dateDebut)}', child: memeJour
style: GoogleFonts.merriweather( ? Text(
fontSize: 14, 'Le ${_fmtLong(card.dateDebut)}',
color: QuotidienTheme.ink, style: GoogleFonts.merienda(
height: 1.35, fontSize: 17,
), fontWeight: FontWeight.w600,
) color: QuotidienTheme.ink,
else ...[ height: 1.35,
Text( ),
'Du ${_fmtLong(card.dateDebut)}', )
style: GoogleFonts.merriweather( : Column(
fontSize: 14, crossAxisAlignment: CrossAxisAlignment.start,
color: QuotidienTheme.ink, children: [
height: 1.35, Text(
), 'Du ${_fmtLong(card.dateDebut)}',
), style: GoogleFonts.merienda(
Text( fontSize: 17,
'Au ${_fmtLong(card.dateFin)}', fontWeight: FontWeight.w600,
style: GoogleFonts.merriweather( color: QuotidienTheme.ink,
fontSize: 14, height: 1.35,
color: QuotidienTheme.ink, ),
height: 1.35, ),
), Text(
), 'Au ${_fmtLong(card.dateFin)}',
], style: GoogleFonts.merienda(
], fontSize: 17,
if (card.motif != null && card.motif!.trim().isNotEmpty) ...[ fontWeight: FontWeight.w600,
const SizedBox(height: 6), color: QuotidienTheme.ink,
Text( height: 1.35,
card.motif!, ),
maxLines: 2, ),
overflow: TextOverflow.ellipsis, ],
style: GoogleFonts.merriweather( ),
fontSize: 12,
color: QuotidienTheme.muted,
),
), ),
], ],
if (card.statut == CarteStatut.refusee) ...[ if (card.statut == CarteStatut.refusee) ...[