This commit is contained in:
Hamza Aleghwairyeen
2024-04-21 20:03:26 +03:00
parent 94f115fb61
commit 3a0ca74961
18 changed files with 192 additions and 78 deletions

View File

@@ -51,7 +51,7 @@ class LoginCaptinController extends GetxController {
if (jsonDecoeded.isNotEmpty) {
if (jsonDecoeded['status'] == 'success') {
print(jsonDecoeded['data'][0]['verified']);
if (jsonDecoeded['data'][0]['verified'] == 1) {
if (jsonDecoeded['data'][0]['verified'] == '1') {
box.write(BoxName.driverID, jsonDecoeded['data'][0]['id']);
box.write(BoxName.emailDriver, jsonDecoeded['data'][0]['email']);
box.write(