Update: 2026-07-06 04:16:38

This commit is contained in:
Hamza-Ayed
2026-07-06 04:16:38 +03:00
parent cadc26518b
commit e42754bb0e
2 changed files with 115 additions and 86 deletions
@@ -45,8 +45,8 @@ class MapPagePassenger extends StatelessWidget {
Get.find<CRUD>();
// ✅ تهيئة البيانات بعد تسجيل الدخول إن لم تكن قد تهيأت بالفعل
final bool isLoggedIn = box.read(BoxName.isVerified) == '1' &&
box.read(BoxName.passengerID) != null;
final bool isLoggedIn = box.read(BoxName.isVerified) == '1' &&
box.read(BoxName.passengerID) != null;
if (isLoggedIn && !rideLifecycle.isDataInitializedAfterLogin) {
rideLifecycle.initializeDataAfterLogin();
}
@@ -56,6 +56,7 @@ class MapPagePassenger extends StatelessWidget {
});
return Scaffold(
backgroundColor: Get.isDarkMode ? const Color(0xFF1E1E1E) : Colors.white,
body: SafeArea(
bottom: true,
child: Stack(
@@ -108,22 +109,35 @@ class AttributionMap extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Positioned(
left: 4,
bottom: 20,
child: RotatedBox(
quarterTurns: 0, // يخلي النص عمودي (من تحت لفوق)
child: Opacity(
opacity: 0.7,
child: Text(
"Siro Maps",
// "Siro Maps • © OpenStreetMap contributors",
left: 12,
bottom: Get.height * 0.2 + 4,
child: Row(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
'assets/images/logo.png',
width: 10,
height: 10,
color: Colors.grey.shade500,
),
const SizedBox(width: 4),
Text(
"Intaleq Maps",
style: TextStyle(
fontSize: 10,
color: Colors.grey[700],
fontWeight: FontWeight.w400,
fontSize: 9,
color: Colors.grey.shade500,
fontWeight: FontWeight.w600,
letterSpacing: 0.3,
shadows: [
Shadow(
blurRadius: 3,
color: Colors.black.withValues(alpha: 0.3),
),
],
),
),
),
],
),
);
}