no message

wala_plus_with_dialog_removal
Sultan khan 3 weeks ago
parent 37303458bf
commit 7c9599ff6e

@ -833,6 +833,7 @@
"favoriteError": "حدث خطأ أثناء تحديث المفضلة", "favoriteError": "حدث خطأ أثناء تحديث المفضلة",
"merchantWebsiteNotAvailable": "موقع التاجر غير متوفر", "merchantWebsiteNotAvailable": "موقع التاجر غير متوفر",
"locationServicesRequiredForNearestOffers": "يجب تفعيل خدمة الموقع لعرض العروض القريبة", "locationServicesRequiredForNearestOffers": "يجب تفعيل خدمة الموقع لعرض العروض القريبة",
"locationPermissionRequiredForNearestOffers": "يجب منح إذن الموقع لعرض العروض القريبة" "locationPermissionRequiredForNearestOffers": "يجب منح إذن الموقع لعرض العروض القريبة",
"favoriteMerchant": "التاجر المفضل"
} }

@ -832,6 +832,7 @@
"locationPermissionRequiredForNearestOffers": "You need to give location permission to show nearest offers", "locationPermissionRequiredForNearestOffers": "You need to give location permission to show nearest offers",
"favoriteAddedSuccess": "Added to favorites successfully", "favoriteAddedSuccess": "Added to favorites successfully",
"favoriteRemovedSuccess": "Removed from favorites successfully", "favoriteRemovedSuccess": "Removed from favorites successfully",
"favoriteError": "An error occurred while updating favorites" "favoriteError": "An error occurred while updating favorites",
"favoriteMerchant": "Favorite Merchant"
} }

@ -696,7 +696,7 @@ class _DashboardScreenForDependetState extends State<DashboardScreenForDependet>
child: Icon( child: Icon(
isFavoriteOnly ? Icons.favorite_rounded : Icons.favorite_border_rounded, isFavoriteOnly ? Icons.favorite_rounded : Icons.favorite_border_rounded,
size: 24, size: 24,
color: isFavoriteOnly ? const Color(0xFFE11D48) : const Color(0xFF1E293B), color: isFavoriteOnly ? Colors.black : const Color(0xFF1E293B),
), ),
), ),
), ),

@ -172,7 +172,7 @@ class _WalaPlusRetailerDetailsScreenState extends State<WalaPlusRetailerDetailsS
}); });
} }
} catch (e) { } catch (e) {
debugPrint("Error fetching WalaPlus retailer by ID: $e"); debugPrint("Error fetching retailer by ID: $e");
} finally { } finally {
if (mounted) { if (mounted) {
setState(() { setState(() {
@ -687,7 +687,7 @@ class _WalaPlusRetailerDetailsScreenState extends State<WalaPlusRetailerDetailsS
icon: Icon( icon: Icon(
_isFavorite ? Icons.favorite_rounded : Icons.favorite_border_rounded, _isFavorite ? Icons.favorite_rounded : Icons.favorite_border_rounded,
size: 22, size: 22,
color: _isFavorite ? const Color(0xFFE11D48) : const Color(0xFF1E293B), color: _isFavorite ? Colors.black : const Color(0xFF1E293B),
), ),
tooltip: LocaleKeys.favorite.tr(), tooltip: LocaleKeys.favorite.tr(),
onPressed: _isTogglingFavorite ? null : _toggleFavorite, onPressed: _isTogglingFavorite ? null : _toggleFavorite,

Loading…
Cancel
Save