Update: 2026-06-29 00:07:33
This commit is contained in:
@@ -86,21 +86,21 @@ class DashboardController extends GetxController {
|
||||
update();
|
||||
}
|
||||
|
||||
sendSMSMethod() async {
|
||||
if (formKey.currentState!.validate()) {
|
||||
for (var phoneNumber in box.read(BoxName.tokensDrivers)['message']) {
|
||||
// for (var i = 0; i < 2; i++) {
|
||||
await CRUD().sendSmsEgypt(
|
||||
phoneNumber['phone'].toString(),
|
||||
// box.read(BoxName.tokensDrivers)['message'][i]['phone'].toString(),
|
||||
smsText.text,
|
||||
);
|
||||
// print('CRUD().phoneDriversTest.: ${phoneNumber['phone']}');
|
||||
Future.delayed(const Duration(microseconds: 20));
|
||||
}
|
||||
Get.back();
|
||||
}
|
||||
}
|
||||
// sendSMSMethod() async {
|
||||
// if (formKey.currentState!.validate()) {
|
||||
// for (var phoneNumber in box.read(BoxName.tokensDrivers)['message']) {
|
||||
// // for (var i = 0; i < 2; i++) {
|
||||
// await CRUD().sendSmsEgypt(
|
||||
// phoneNumber['phone'].toString(),
|
||||
// // box.read(BoxName.tokensDrivers)['message'][i]['phone'].toString(),
|
||||
// smsText.text,
|
||||
// );
|
||||
// // print('CRUD().phoneDriversTest.: ${phoneNumber['phone']}');
|
||||
// Future.delayed(const Duration(microseconds: 20));
|
||||
// }
|
||||
// Get.back();
|
||||
// }
|
||||
// }
|
||||
|
||||
@override
|
||||
void onInit() async {
|
||||
|
||||
Reference in New Issue
Block a user