haroon_dev #302

Closed
Haroon6138 wants to merge 1 commits from haroon_dev into master

@ -5,7 +5,7 @@ import 'package:hmg_patient_app_new/core/enums.dart';
class ApiConsts { class ApiConsts {
static const maxSmallScreen = 660; static const maxSmallScreen = 660;
static AppEnvironmentTypeEnum appEnvironmentType = AppEnvironmentTypeEnum.prod; static AppEnvironmentTypeEnum appEnvironmentType = AppEnvironmentTypeEnum.uat;
// static String baseUrl = 'https://uat.hmgwebservices.com/'; // HIS API URL UAT // static String baseUrl = 'https://uat.hmgwebservices.com/'; // HIS API URL UAT
@ -301,7 +301,7 @@ class ApiConsts {
static String googleCloudStorageENTranslationFileBaseURL = "https://storage.googleapis.com/hmg-patientapp-translations"; static String googleCloudStorageENTranslationFileBaseURL = "https://storage.googleapis.com/hmg-patientapp-translations";
// ************ static values for Api **************** // ************ static values for Api ****************
static final double appVersionID = 21.8; static final double appVersionID = 21.9;
// static final double appVersionID = 50.7; // static final double appVersionID = 50.7;
static final int appChannelId = 3; static final int appChannelId = 3;

@ -498,7 +498,7 @@ class _WalletPaymentConfirmPageState extends State<WalletPaymentConfirmPage> {
isEnglishOnly: true, isEnglishOnly: true,
), ),
AppCustomChipWidget( AppCustomChipWidget(
labelText: "${habibWalletVM.selectedHospital!.name}", labelText: "${habibWalletVM.selectedHospital != null ? habibWalletVM.selectedHospital!.name : "Habib Hospital"}",
), ),
], ],
).paddingSymmetrical(24.h, 0.h), ).paddingSymmetrical(24.h, 0.h),

@ -65,49 +65,49 @@ class _UnsafeDeviceState extends State<UnsafeDevice> {
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
SizedBox(height: 24.h), SizedBox(height: 24.h),
// if (getIt.get<SecurityService>().detectedThreats.isNotEmpty) ...[ if (getIt.get<SecurityService>().detectedThreats.isNotEmpty) ...[
// Text( Text(
// 'Detected Issues:', 'Detected Issues:',
// style: TextStyle( style: TextStyle(
// fontSize: 14.f, fontSize: 14.f,
// fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
// color: Colors.black87, color: Colors.black87,
// ), ),
// ), ),
// SizedBox(height: 8.h), SizedBox(height: 8.h),
// Container( Container(
// padding: EdgeInsets.all(12.w), padding: EdgeInsets.all(12.w),
// decoration: BoxDecoration( decoration: BoxDecoration(
// color: Colors.red.withOpacity(0.1), color: Colors.red.withOpacity(0.1),
// borderRadius: BorderRadius.circular(8.r), borderRadius: BorderRadius.circular(8.r),
// border: Border.all(color: Colors.red.withOpacity(0.3)), border: Border.all(color: Colors.red.withOpacity(0.3)),
// ), ),
// child: Column( child: Column(
// children: getIt children: getIt
// .get<SecurityService>() .get<SecurityService>()
// .detectedThreats .detectedThreats
// .where((t) => t.severity == ThreatSeverity.critical) .where((t) => t.severity == ThreatSeverity.critical)
// .take(5) // Show max 5 threats .take(5) // Show max 5 threats
// .map((threat) => Padding( .map((threat) => Padding(
// padding: EdgeInsets.symmetric(vertical: 4.h), padding: EdgeInsets.symmetric(vertical: 4.h),
// child: Row( child: Row(
// children: [ children: [
// Icon(Icons.error_outline, size: 16.f, color: Colors.red), Icon(Icons.error_outline, size: 16.f, color: AppColors.primaryRedColor),
// SizedBox(width: 8.w), SizedBox(width: 8.w),
// Expanded( Expanded(
// child: Text( child: Text(
// threat.threatType, threat.threatType,
// style: TextStyle(fontSize: 12.f), style: TextStyle(fontSize: 12.f),
// ), ),
// ), ),
// ], ],
// ), ),
// )) ))
// .toList(), .toList(),
// ), ),
// ), ),
// SizedBox(height: 24.h), SizedBox(height: 24.h),
// ], ],
], ],
), ),
), ),

Loading…
Cancel
Save