From ba84455e32a3c82943389c08d67ca1f64b561972 Mon Sep 17 00:00:00 2001 From: mike doornenbal Date: Fri, 16 Aug 2024 09:34:21 +0200 Subject: [PATCH] fix: styling --- CHANGELOG.md | 5 +++++ lib/src/auth_screen.dart | 6 ++++-- lib/src/config/registration_translations.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee28167..f93c8b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ SPDX-FileCopyrightText: 2022 Iconica SPDX-License-Identifier: GPL-3.0-or-later --> +# 3.0.1 + +- Fix: Added bottom button padding. +- Fix: Default validation message for password field. + # 3.0.0 - fix: fixed the issue with the scrollController when the `pageToReturnTo` is null. - feat: Added default styling and theme. diff --git a/lib/src/auth_screen.dart b/lib/src/auth_screen.dart index a652f01..7c8c70c 100644 --- a/lib/src/auth_screen.dart +++ b/lib/src/auth_screen.dart @@ -306,8 +306,10 @@ class _AuthScreenState extends State { SizedBox( width: MediaQuery.of(context).size.width, child: Padding( - padding: const EdgeInsets.symmetric( - horizontal: 20, + padding: const EdgeInsets.only( + left: 20, + right: 20, + bottom: 40, ), child: Row( mainAxisAlignment: widget.steps.first != diff --git a/lib/src/config/registration_translations.dart b/lib/src/config/registration_translations.dart index f57985b..f2d994d 100644 --- a/lib/src/config/registration_translations.dart +++ b/lib/src/config/registration_translations.dart @@ -39,7 +39,7 @@ class RegistrationTranslations { defaultPasswordTitle = "choose a password", defaultPasswordLabel = "", defaultPasswordHint = "Password", - defaultPasswordValidatorMessage = "Enter a valid password", + defaultPasswordValidatorMessage = "Please enter a valid password", defaultPasswordToShortValidatorMessage = "Password needs to be at least 6 characters long"; diff --git a/pubspec.yaml b/pubspec.yaml index 0aa9321..5f2ebf1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ name: flutter_registration description: A Flutter Registration package -version: 3.0.0 +version: 3.0.1 repository: https://github.com/Iconica-Development/flutter_registration publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub