6/5/1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:math';
|
||||
|
||||
import 'package:SEFER/constant/colors.dart';
|
||||
import 'package:SEFER/controller/functions/location_background_controller.dart';
|
||||
import 'package:SEFER/views/auth/captin/cards/sms_signup.dart';
|
||||
import 'package:SEFER/views/auth/captin/register_captin.dart';
|
||||
@@ -178,6 +179,7 @@ class LoginCaptinController extends GetxController {
|
||||
}
|
||||
} else {
|
||||
print('res is null');
|
||||
Get.snackbar('failure'.tr, '', backgroundColor: AppColor.redColor);
|
||||
isloading = false;
|
||||
update();
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ class GoogleSignInHelper {
|
||||
if (googleUser != null) {
|
||||
await _handleSignUp(googleUser);
|
||||
// if (box.read(BoxName.countryCode) == 'Egypt') {
|
||||
Get.find<LoginCaptinController>().loginFromSignInGoogle(
|
||||
await Get.find<LoginCaptinController>().loginFromSignInGoogle(
|
||||
box.read(BoxName.driverID).toString(),
|
||||
box.read(BoxName.emailDriver).toString(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user