AOSSIE-Org / AOSSIE-Org/Ell-ena

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

未关闭
#263 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
54
派生
110
PR 合并指标
30 天内没有已合并 PR

描述

## 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`.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。