6/22/2
This commit is contained in:
@@ -230,19 +230,13 @@ class LoginPage extends StatelessWidget {
|
||||
User? user =
|
||||
await authController.signInWithApple();
|
||||
if (user != null) {
|
||||
print(
|
||||
"Successfully signed in: ${user.email}");
|
||||
print(
|
||||
"Successfully signed in: ${user.uid}");
|
||||
box.write(BoxName.driverID, user.uid);
|
||||
box.write(
|
||||
BoxName.emailDriver, user.email);
|
||||
await GoogleSignInHelper
|
||||
.signInFromLogin();
|
||||
// Navigate to another screen or perform other actions
|
||||
} else {
|
||||
print("Sign-in failed");
|
||||
}
|
||||
} else {}
|
||||
},
|
||||
kolor: AppColor.primaryColor,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user