Skip to content

Commit

Permalink
fix(Patch Option): Set text colour on dropdown menu
Browse files Browse the repository at this point in the history
Signed-off-by: validcube <pun.butrach@gmail.com>
  • Loading branch information
validcube committed Jan 21, 2024
1 parent 8e52abd commit acb1e24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/ui/views/patch_options/patch_options_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
5 changes: 4 additions & 1 deletion lib/ui/widgets/patchesSelectorView/patch_options_fields.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit acb1e24

Please sign in to comment.