feat: cleaning code

This commit is contained in:
2026-06-24 22:56:32 +03:30
parent e73333344f
commit e8cde8e1f7
18 changed files with 99 additions and 88 deletions
@@ -109,7 +109,7 @@ class _OtpScreenState extends State<OtpScreen> {
GameButton(
label: 'ورود',
width: double.infinity,
colors: const [Color(0xFF3FA34D), Color(0xFF1B5E20)],
colors: const [AppColors.success, AppColors.successDark],
onTap: (!_valid || loading)
? null
: () => _submit(context),
@@ -124,7 +124,7 @@ class _ProfileSetupScreenState extends State<ProfileSetupScreen> {
GameButton(
label: saving ? 'در حال ذخیره…' : 'تأیید و ورود',
width: double.infinity,
colors: const [Color(0xFF3FA34D), Color(0xFF1B5E20)],
colors: const [AppColors.success, AppColors.successDark],
onTap: (!_valid || saving)
? null
: () => context.read<AuthBloc>().add(