Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ida631 committed Dec 23, 2024
1 parent 9c86c1a commit 3ac45a9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions lib/presentation/settings/views/login_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class _LoginPageState extends State<LoginPage> {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text(viewModel.errorMessage!),
duration: Duration(seconds: 2),
duration: Duration(seconds: 4),
backgroundColor: Colors.red,
),
);
Expand Down Expand Up @@ -308,13 +308,7 @@ class _LoginPageState extends State<LoginPage> {
alignment: Alignment.centerLeft,
child: Padding(
padding: const EdgeInsets.only(left: 3.0),
child: Text(
isPasswordValid ? '' : 'Password must be at least 6 characters long',
style: TextStyle(
color: isPasswordValid ? Colors.transparent : Colors.black54,
fontSize: 14.0,
),
),

),
),
const SizedBox(height: 20.0),
Expand Down

0 comments on commit 3ac45a9

Please sign in to comment.