diff --git a/lib/widgets/field_header.dart b/lib/widgets/field_header.dart index 896fa416..a7beb8c8 100644 --- a/lib/widgets/field_header.dart +++ b/lib/widgets/field_header.dart @@ -79,20 +79,9 @@ class _HeaderFieldState extends State { style: kCodeStyle.copyWith( color: colorScheme.onSurface, ), - decoration: InputDecoration( - hintStyle: kCodeStyle.copyWith(color: colorScheme.outlineVariant), + decoration: getTextFieldInputDecoration( + colorScheme, hintText: widget.hintText, - contentPadding: const EdgeInsets.only(bottom: 12), - focusedBorder: UnderlineInputBorder( - borderSide: BorderSide( - color: colorScheme.outline, - ), - ), - enabledBorder: UnderlineInputBorder( - borderSide: BorderSide( - color: colorScheme.surfaceContainerHighest, - ), - ), ), ), );