This commit is contained in:
Hamza-Ayed
2023-12-10 00:01:36 +03:00
parent db3123320b
commit ba90f96e77
24 changed files with 465 additions and 184 deletions

View File

@@ -41,11 +41,8 @@ class SosConnect extends StatelessWidget {
onTap: () {
launchCommunication(
'whatsapp',
'962' +
box.read(BoxName
.phoneDriver), //todo add number from driver
'Hello this is Captain'.tr +
' ${box.read(BoxName.nameDriver)}');
'+962${box.read(BoxName.phoneDriver)}', //todo add number from driver
'${'Hello this is Captain'.tr} ${box.read(BoxName.nameDriver)}');
},
child: const Icon(
FontAwesome.whatsapp,