fix(Patch Option): Set text colour on dropdown menu

Signed-off-by: validcube <pun.butrach@gmail.com>
This commit is contained in:
validcube 2024-01-21 20:36:23 +07:00
parent 8e52abda9a
commit acb1e2434b
No known key found for this signature in database
GPG Key ID: DBA94253E1D3F267
2 changed files with 6 additions and 2 deletions

View File

@ -184,8 +184,9 @@ class PatchOptionsViewModel extends BaseViewModel {
children: [
Text(
e.title,
style: const TextStyle(
style: TextStyle(
fontSize: 16,
color: Theme.of(context).colorScheme.onSurface,
),
),
const SizedBox(height: 4),

View File

@ -426,8 +426,11 @@ class _TextFieldForPatchOptionState extends State<TextFieldForPatchOption> {
child: RichText(
text: TextSpan(
text: e.key,
style: const TextStyle(
style: TextStyle(
fontSize: 16,
color: Theme.of(context)
.colorScheme
.onSecondaryContainer,
),
children: [
TextSpan(