Update: 2026-06-26 17:29:23

This commit is contained in:
Hamza-Ayed
2026-06-26 17:29:23 +03:00
parent a323da29aa
commit 9ded734e38
139 changed files with 1815 additions and 2676 deletions

View File

@@ -830,7 +830,7 @@ class ShareAppPage extends StatelessWidget {
rewardsController.linkInviteCode(manualCodeController.text.trim());
manualCodeController.clear();
} else {
mySnackeBarError('Please enter a referral code'.tr);
mySnackbarError('Please enter a referral code'.tr);
}
},
child: Text('Link'.tr, style: const TextStyle(color: Colors.white, fontSize: 14)),

View File

@@ -56,8 +56,8 @@ class GoogleMapPassengerWidget extends StatelessWidget {
Log.print('⚠️ onCameraIdle: mapController is NULL');
}
},
markers: controller.markers,
polylines: controller.polyLines,
markers: Set.of(controller.markers),
polylines: Set.of(controller.polyLines),
polygons: controller.polygons,
circles: controller.circles,
initialCameraPosition: CameraPosition(

View File

@@ -387,10 +387,10 @@ class MapMenuWidget extends StatelessWidget {
if (await canLaunchUrl(url)) {
await launchUrl(url);
} else {
mySnackeBarError('Could not launch driver app store.');
mySnackbarError('Could not launch driver app store.');
}
} catch (e) {
mySnackeBarError('Could not open the link.');
mySnackbarError('Could not open the link.');
}
}
}

View File

@@ -64,7 +64,7 @@ class _PaymentScreenCliqState extends State<PaymentScreenCliq> with SingleTicker
Future<void> _submitProof() async {
if (_proofController.text.trim().isEmpty) {
mySnackeBarError('Please paste the transfer message'.tr);
mySnackbarError('Please paste the transfer message'.tr);
return;
}
setState(() => _status = 'verifying');

View File

@@ -65,7 +65,7 @@ class _PaymentScreenMtnState extends State<PaymentScreenMtn> with SingleTickerPr
Future<void> _submitProof() async {
if (_proofController.text.trim().isEmpty) {
mySnackeBarError('Please paste the transfer message'.tr);
mySnackbarError('Please paste the transfer message'.tr);
return;
}
setState(() => _status = 'verifying');

View File

@@ -100,7 +100,7 @@ class _PassengerProfilePageState extends State<PassengerProfilePage> {
}
void _showUploadError() {
mySnackeBarError('Failed to upload photo'.tr);
mySnackbarError('Failed to upload photo'.tr);
}
Future<ImageSource?> _showImageSourceSheet() async {