From f621f8c8d18e2cf85d41c1326475c17addbc9600 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Tue, 6 May 2025 10:06:57 +0300 Subject: [PATCH] fixes --- lib/uitl/DeepLinkHandler.dart | 2 +- lib/uitl/app_toast.dart | 2 +- pubspec.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/uitl/DeepLinkHandler.dart b/lib/uitl/DeepLinkHandler.dart index f1c2e7e5..9f46242b 100644 --- a/lib/uitl/DeepLinkHandler.dart +++ b/lib/uitl/DeepLinkHandler.dart @@ -11,7 +11,7 @@ import 'app-permissions.dart'; enum DeepLinkNavigation { APPOINTMENT("/appointment", false), - LIVE_CARE("/lifecare", true), + LIVE_CARE("/livecare", true), NAVIGATE("/navigate", false); final String name; diff --git a/lib/uitl/app_toast.dart b/lib/uitl/app_toast.dart index 3e1f08b5..bbeebe5d 100644 --- a/lib/uitl/app_toast.dart +++ b/lib/uitl/app_toast.dart @@ -70,7 +70,7 @@ class AppToast { child: toast, gravity: ToastGravity.TOP, toastDuration: Duration(seconds: timeInSeconds), - positionedToastBuilder: (context, child,_) { + positionedToastBuilder: (context, child) { return Positioned(top: 50, left: 10, right: 10, child: child); }); // Fluttertoast.showToast(msg: message, toastLength: toastLength, gravity: toastGravity, timeInSecForIosWeb: timeInSeconds, backgroundColor: Colors.red, textColor: textColor, fontSize: fontSize); diff --git a/pubspec.yaml b/pubspec.yaml index 8ffe7d5b..53ad9d77 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -175,7 +175,7 @@ dependencies: wave: ^0.2.0 sms_otp_auto_verify: ^2.1.0 # flutter_ios_voip_kit: ^0.1.0 - google_api_availability: ^5.0.0 + google_api_availability: ^4.0.0 open_filex: ^4.3.2 path_provider: ^2.0.8 amazon_payfort: ^1.1.3 @@ -191,7 +191,7 @@ dependencies: cloudflare_turnstile: ^2.0.1 app_links: ^6.4.0 device_info_plus: ^10.1.2 - app_links: ^6.4.0 +# app_links: ^6.4.0 # vital_sign_camera: # path: ./packages/vital_sign_camera