Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TextField height #1622

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions lib/account/pages/login_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ class _LoginPageState extends State<LoginPage> with SingleTickerProviderStateMix
focusNode: focusNode,
inputFormatters: [LowerCaseTextFormatter()],
decoration: InputDecoration(
isDense: true,
border: const OutlineInputBorder(),
labelText: AppLocalizations.of(context)!.instance(1),
errorText: instanceValidated ? null : instanceError,
Expand Down Expand Up @@ -364,7 +363,6 @@ class _LoginPageState extends State<LoginPage> with SingleTickerProviderStateMix
focusNode: _usernameFieldFocusNode,
autofillHints: const [AutofillHints.username],
decoration: InputDecoration(
isDense: true,
border: const OutlineInputBorder(),
labelText: AppLocalizations.of(context)!.username,
),
Expand All @@ -385,7 +383,6 @@ class _LoginPageState extends State<LoginPage> with SingleTickerProviderStateMix
maxLength: 60, // This is what lemmy retricts password length to
autofillHints: const [AutofillHints.password],
decoration: InputDecoration(
isDense: true,
border: const OutlineInputBorder(),
labelText: AppLocalizations.of(context)!.password,
suffixIcon: Padding(
Expand Down Expand Up @@ -415,7 +412,6 @@ class _LoginPageState extends State<LoginPage> with SingleTickerProviderStateMix
keyboardType: TextInputType.number,
inputFormatters: <TextInputFormatter>[FilteringTextInputFormatter.digitsOnly],
decoration: InputDecoration(
isDense: true,
border: const OutlineInputBorder(),
labelText: AppLocalizations.of(context)!.totp,
hintText: '000000',
Expand Down
1 change: 0 additions & 1 deletion lib/post/utils/user_label_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Future<({UserLabel? userLabel, bool deleted})> showUserLabelEditorDialog(BuildCo
keyboardType: TextInputType.text,
controller: controller,
decoration: InputDecoration(
isDense: true,
border: const OutlineInputBorder(),
labelText: l10n.label,
hintText: l10n.userLabelHint,
Expand Down
2 changes: 0 additions & 2 deletions lib/post/widgets/post_post_action_bottom_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ class _PostPostActionBottomSheetState extends State<PostPostActionBottomSheet> {
onSecondaryButtonPressed: (context) => context.pop(),
contentWidgetBuilder: (_) => TextFormField(
decoration: InputDecoration(
isDense: true,
border: const OutlineInputBorder(),
labelText: l10n.message(0),
),
Expand Down Expand Up @@ -238,7 +237,6 @@ class _PostPostActionBottomSheetState extends State<PostPostActionBottomSheet> {
onSecondaryButtonPressed: (context) => context.pop(),
contentWidgetBuilder: (_) => TextFormField(
decoration: InputDecoration(
isDense: true,
border: const OutlineInputBorder(),
labelText: l10n.message(0),
),
Expand Down
1 change: 0 additions & 1 deletion lib/post/widgets/report_comment_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class _ReportCommentDialogState extends State<ReportCommentDialog> {
),
TextFormField(
decoration: InputDecoration(
isDense: true,
border: const OutlineInputBorder(),
labelText: AppLocalizations.of(context)!.message(0),
),
Expand Down
1 change: 0 additions & 1 deletion lib/post/widgets/user_post_action_bottom_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ class _UserPostActionBottomSheetState extends State<UserPostActionBottomSheet> {
const SizedBox(height: 16.0),
TextFormField(
decoration: InputDecoration(
isDense: true,
border: const OutlineInputBorder(),
labelText: l10n.message(0),
),
Expand Down
1 change: 0 additions & 1 deletion lib/settings/pages/general_settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,6 @@ class _GeneralSettingsPageState extends State<GeneralSettingsPage> with SingleTi
autocorrect: false,
controller: controller,
decoration: InputDecoration(
isDense: true,
border: const OutlineInputBorder(),
labelText: l10n.url,
hintText: THUNDER_SERVER_URL,
Expand Down
1 change: 0 additions & 1 deletion lib/shared/input_dialogs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,6 @@ void showInputDialog<T>({
},
autofocus: true,
decoration: InputDecoration(
isDense: true,
border: const OutlineInputBorder(),
labelText: inputLabel,
errorText: contentWidgetError,
Expand Down
Loading