fix(#173): motif de refus plus visible sur les congés refusés

Affiche « Motif : … » pour les co-parents (réponse API ou payload),
et retire la capture flutter_01.png locale.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-05 12:03:54 +02:00
co-authored by Cursor
parent f3b2da4b4d
commit 6c8ef32a11
2 changed files with 14 additions and 5 deletions
@@ -592,16 +592,16 @@ class _BulleTile extends StatelessWidget {
],
if (card.isCongeAm &&
card.statut == CarteStatut.refusee &&
card.lastRefuseComment != null &&
card.lastRefuseComment!.trim().isNotEmpty) ...[
card.motifRefus != null) ...[
const SizedBox(height: 8),
Text(
'Motif : ${card.lastRefuseComment}',
maxLines: 2,
'Motif : ${card.motifRefus}',
maxLines: 4,
overflow: TextOverflow.ellipsis,
style: GoogleFonts.merriweather(
fontSize: 12,
fontSize: 13,
fontStyle: FontStyle.italic,
height: 1.3,
color: encre.ink,
),
),