AOSSIE-Org / AOSSIE-Org/Ell-ena

[Bug]: Hardcoded white text in meeting_insights_screen makes transcript invisible in light mode

Aperta
#263 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
54
Fork
110
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Description

In `lib/screens/meetings/meeting_insights_screen.dart` (lines 341-348), the `_buildTranscriptView()` method uses hardcoded `Colors.white` for speaker name and `Colors.white70` for transcript text. In light mode, the background resolves to pure white (`Colors.white`), making the text invisible and unreadable.

## Expected behavior

Text colors should be theme-aware using `Theme.of(context).colorScheme.onSurface` and `Theme.of(context).colorScheme.onSurfaceVariant`.

## To Reproduce

1. Set the app to light mode
2. Navigate to a meeting that has transcript data
3. Observe that speaker names and transcript text are invisible against the white background

## Fix

Replace `Colors.white` with `Theme.of(context).colorScheme.onSurface` and `Colors.white70` with `Theme.of(context).colorScheme.onSurfaceVariant`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.