fixed TM-171 jira task

This commit is contained in:
amirrezaghabeli
2025-10-01 14:11:53 +03:30
parent d42f477dcb
commit 006b421a9e
12 changed files with 69 additions and 17 deletions
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:tm_app/core/utils/size_config.dart';
import '../../shared/responsive_builder.dart';
import 'd_forgot_apssword_page.dart';
@@ -10,6 +11,7 @@ class ForgotPasswordScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
SizeConfig.init(context);
return const ResponsiveBuilder(
mobile: MobileForgotPasswordPage(),
tablet: TabletForgotPasswordPage(),
@@ -59,7 +59,7 @@ class _TabletForgotPasswordPageState extends State<TabletForgotPasswordPage> {
builder: (context, viewModel, _) {
return Center(
child: SizedBox(
width: 364,
width: 364.0.w(),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
@@ -97,7 +97,7 @@ class _TabletForgotPasswordPageState extends State<TabletForgotPasswordPage> {
label: ForgotPasswordStrings.emailHint,
isPassword: false,
),
SizedBox(height: 24.0.h()),
SizedBox(height: 70.0.h()),
viewModel.isLoadingForgot
? const BaseButton(
isEnabled: false,
@@ -115,7 +115,7 @@ class _TabletForgotPasswordPageState extends State<TabletForgotPasswordPage> {
}
: null,
),
const SizedBox(height: 12),
SizedBox(height: 32.0.h()),
TextButton(
onPressed: () {
Navigator.pop(context);