diff --git a/lib/config/config.dart b/lib/config/config.dart index c3bf38fd..af925ed1 100644 --- a/lib/config/config.dart +++ b/lib/config/config.dart @@ -6,7 +6,7 @@ import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; const MAX_SMALL_SCREEN = 660; -const BASE_URL = 'https://hmgwebservices.com/'; +const BASE_URL = 'https://uat.hmgwebservices.com/'; //const BASE_PHARMACY_URL = 'http://swd-pharapp-01:7200/api/'; const BASE_PHARMACY_URL = 'https://uat.hmgwebservices.com/epharmacy/api/'; const PHARMACY_BASE_URL = 'https://uat.hmgwebservices.com/epharmacy/api/'; diff --git a/lib/config/localized_values.dart b/lib/config/localized_values.dart index 2f13293b..dea5dd5d 100644 --- a/lib/config/localized_values.dart +++ b/lib/config/localized_values.dart @@ -1194,10 +1194,6 @@ const Map localizedValues = { "ar":"التوفر" }, - "quantity":{ - "en":"Quantity", - "ar":"التوفر" - }, "quantitySize":{ "en":"Quantity", "ar":"كميه" diff --git a/lib/pages/pharmacy/profile/profile.dart b/lib/pages/pharmacy/profile/profile.dart index 3fa7440c..6e2f2a7c 100644 --- a/lib/pages/pharmacy/profile/profile.dart +++ b/lib/pages/pharmacy/profile/profile.dart @@ -14,6 +14,7 @@ import 'package:diplomaticquarterapp/pages/pharmacy/order/Order.dart'; import 'package:diplomaticquarterapp/pages/pharmacy/pharmacyAddresses/PharmacyAddresses.dart'; import 'package:diplomaticquarterapp/uitl/app_toast.dart'; import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; @@ -33,7 +34,8 @@ class PharmacyProfilePage extends StatefulWidget { } class _ProfilePageState extends State { - + AppSharedPreferences sharedPref = AppSharedPreferences(); + String page_id = ""; AuthenticatedUser user; bool isLogin = false; @@ -129,7 +131,7 @@ class _ProfilePageState extends State { ), ], ), - ], + ) ], ), @@ -615,7 +617,7 @@ class _ProfilePageState extends State { ), ), ), - ); + )); }} diff --git a/lib/uitl/translations_delegate_base.dart b/lib/uitl/translations_delegate_base.dart index 5e33f54f..65be2d3e 100644 --- a/lib/uitl/translations_delegate_base.dart +++ b/lib/uitl/translations_delegate_base.dart @@ -1083,7 +1083,6 @@ class TranslationBase { String get specification => localizedValues['specification'][locale.languageCode]; String get details => localizedValues['details'][locale.languageCode]; String get availability => localizedValues['availability'][locale.languageCode]; - String get quantity => localizedValues['quantity'][locale.languageCode]; String get quantitySize => localizedValues['quantitySize'][locale.languageCode]; String get addToCart => localizedValues['addToCart'][locale.languageCode]; String get buyNow => localizedValues['buyNow'][locale.languageCode];