Skip to content

Commit

Permalink
fix theme deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshj01 committed Jul 8, 2024
1 parent 09f1b17 commit c571802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/navbar/profile/edit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ class _VHTextfieldState extends State<VHTextfield> {
),
Card(
color: widget.isReadOnly
? Theme.of(context).colorScheme.background
? Theme.of(context).colorScheme.surface
: Theme.of(context).colorScheme.surface,
margin: const EdgeInsets.symmetric(horizontal: 20, vertical: 10),
child: Padding(
Expand Down

0 comments on commit c571802

Please sign in to comment.