From acfab432cc004a59bcc7a56aa1d5befc6609d1e1 Mon Sep 17 00:00:00 2001 From: Sultan khan Date: Thu, 5 Mar 2026 11:08:47 +0300 Subject: [PATCH] multiple submit button commented --- .../authentication/register_step2.dart | 90 +++++++++---------- lib/splashPage.dart | 2 +- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/lib/presentation/authentication/register_step2.dart b/lib/presentation/authentication/register_step2.dart index c83226ca..0262f129 100644 --- a/lib/presentation/authentication/register_step2.dart +++ b/lib/presentation/authentication/register_step2.dart @@ -366,51 +366,51 @@ class _RegisterNew extends State { ), ), SizedBox(height: 50.h), - Row( - children: [ - Expanded( - child: CustomButton( - text: LocaleKeys.cancel.tr(context: context), - icon: AppAssets.cancel, - onPressed: () { - Navigator.of(context).pop(); - // authVM!.clearDefaultInputValues(); - }, - backgroundColor: AppColors.secondaryLightRedColor, - borderColor: AppColors.secondaryLightRedColor, - textColor: AppColors.primaryRedColor, - iconColor: AppColors.primaryRedColor, - ), - ), - SizedBox(width: 16.w), - Expanded( - child: CustomButton( - backgroundColor: AppColors.primaryRedColor, - borderColor: AppColors.primaryRedColor, - textColor: AppColors.whiteColor, - text: LocaleKeys.confirm.tr(context: context), - icon: AppAssets.confirm, - iconColor: AppColors.whiteColor, - onPressed: () { - if (appState.getUserRegistrationPayload.zipCode != CountryEnum.saudiArabia.countryCode) { - if (ValidationUtils.validateUaeRegistration( - name: authVM!.nameController.text, - gender: authVM!.genderType, - country: authVM!.pickedCountryByUAEUser, - maritalStatus: authVM!.maritalStatus, - onOkPress: () { - Navigator.of(context).pop(); - })) { - showModel(context: context); - } - } else { - showModel(context: context); - } - }, - ), - ) - ], - ), + // Row( + // children: [ + // Expanded( + // child: CustomButton( + // text: LocaleKeys.cancel.tr(context: context), + // icon: AppAssets.cancel, + // onPressed: () { + // Navigator.of(context).pop(); + // // authVM!.clearDefaultInputValues(); + // }, + // backgroundColor: AppColors.secondaryLightRedColor, + // borderColor: AppColors.secondaryLightRedColor, + // textColor: AppColors.primaryRedColor, + // iconColor: AppColors.primaryRedColor, + // ), + // ), + // SizedBox(width: 16.w), + // Expanded( + // child: CustomButton( + // backgroundColor: AppColors.primaryRedColor, + // borderColor: AppColors.primaryRedColor, + // textColor: AppColors.whiteColor, + // text: LocaleKeys.confirm.tr(context: context), + // icon: AppAssets.confirm, + // iconColor: AppColors.whiteColor, + // onPressed: () { + // if (appState.getUserRegistrationPayload.zipCode != CountryEnum.saudiArabia.countryCode) { + // if (ValidationUtils.validateUaeRegistration( + // name: authVM!.nameController.text, + // gender: authVM!.genderType, + // country: authVM!.pickedCountryByUAEUser, + // maritalStatus: authVM!.maritalStatus, + // onOkPress: () { + // Navigator.of(context).pop(); + // })) { + // showModel(context: context); + // } + // } else { + // showModel(context: context); + // } + // }, + // ), + // ) + // ], + // ), ], ), ), diff --git a/lib/splashPage.dart b/lib/splashPage.dart index dc7a7c98..1107c6b6 100644 --- a/lib/splashPage.dart +++ b/lib/splashPage.dart @@ -57,7 +57,7 @@ class _SplashScreenState extends State { await notificationService.initialize(onNotificationClick: (payload) { // Handle notification click here }); - ZoomService().initializeZoomSDK(); + //ZoomService().initializeZoomSDK(); if (isAppOpenedFromCall) { navigateToTeleConsult(); } else {