From c57180217ee40a03475e4fdb12cbf4c43f41c4ce Mon Sep 17 00:00:00 2001 From: mahesh jamdade Date: Mon, 8 Jul 2024 00:55:45 -0400 Subject: [PATCH] fix theme deprecation --- lib/navbar/profile/edit.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/navbar/profile/edit.dart b/lib/navbar/profile/edit.dart index eabf44a..9eeae6e 100644 --- a/lib/navbar/profile/edit.dart +++ b/lib/navbar/profile/edit.dart @@ -383,7 +383,7 @@ class _VHTextfieldState extends State { ), 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(