Skip to content

Commit

Permalink
minor deprecation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshj01 committed Jul 8, 2024
1 parent 362ab8b commit 09f1b17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/navbar/profile/edit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ class _VHTextfieldState extends State<VHTextfield> {
child: Text(
widget.hint,
style: TextStyle(
color: Theme.of(context).colorScheme.onBackground,
color: Theme.of(context).colorScheme.onSurface,
fontSize: 16,
fontWeight: FontWeight.w500),
),
Expand Down
2 changes: 1 addition & 1 deletion lib/navbar/profile/profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ class UserProfileDesktop extends ConsumerWidget {
Widget build(BuildContext context, WidgetRef ref) {
final user = ref.watch(userNotifierProvider);
return Scaffold(
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.surface,
appBar: AppBar(
title: Text('Profile'),
),
Expand Down

0 comments on commit 09f1b17

Please sign in to comment.