Update: 2026-06-26 17:29:23
This commit is contained in:
@@ -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)),
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user