Skip to content

Commit

Permalink
increase content padding on account text input fields
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Mar 6, 2024
1 parent 0b243e9 commit b2a3f0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/account/device_linking/authorize_device_via_email.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ class AuthorizeDeviceViaEmail extends StatelessWidget {
controller: emailController,
autovalidateMode: AutovalidateMode.disabled,
//TODO: this throws an error when we set it to AutovalidateMode.onUserInteraction
contentPadding: const EdgeInsetsDirectional.only(
top: 8.0,
bottom: 8.0,
),
label: 'Email'.i18n,
helperText: 'auth_email_helper_text'.i18n,
keyboardType: TextInputType.emailAddress,
Expand Down
4 changes: 4 additions & 0 deletions lib/account/report_issue.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ class _ReportIssueState extends State<ReportIssue> {
initialValue: emailAddress,
controller: emailController,
autovalidateMode: AutovalidateMode.disabled,
contentPadding: const EdgeInsetsDirectional.only(
top: 8.0,
bottom: 8.0,
),
label: 'email'.i18n,
onChanged: (value) {
setState(() {});
Expand Down

0 comments on commit b2a3f0d

Please sign in to comment.