Keep Cupertino chat summaries and contextual prompts readable
This commit is contained in:
@@ -1129,8 +1129,10 @@ class _ChatComposerBarState extends State<ChatComposerBar> {
|
||||
placeholder: widget.placeholder,
|
||||
// The pill draws the field's surface; the field adds no border.
|
||||
decoration: null,
|
||||
placeholderStyle: const TextStyle(
|
||||
color: CupertinoColors.placeholderText,
|
||||
// The contextual prompt must stay readable on the glass fill;
|
||||
// placeholderText falls below normal-text contrast here.
|
||||
placeholderStyle: TextStyle(
|
||||
color: CupertinoColors.label.resolveFrom(context),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
minLines: lines,
|
||||
|
||||
Reference in New Issue
Block a user