feat: cleaning code
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user