25-3/8/1
This commit is contained in:
@@ -325,11 +325,8 @@ class LoginCaptin extends StatelessWidget {
|
||||
User? user = await authController
|
||||
.signInWithApple();
|
||||
if (user != null) {
|
||||
box.write(
|
||||
BoxName.emailDriver,
|
||||
EncryptionHelper.instance
|
||||
.encryptData(
|
||||
user.email.toString()));
|
||||
box.write(BoxName.emailDriver,
|
||||
(user.email.toString()));
|
||||
|
||||
box.write(
|
||||
BoxName.driverID, user.uid);
|
||||
@@ -339,9 +336,10 @@ class LoginCaptin extends StatelessWidget {
|
||||
box
|
||||
.read(BoxName.driverID)
|
||||
.toString(),
|
||||
box
|
||||
.read(BoxName.emailDriver)
|
||||
.toString(),
|
||||
EncryptionHelper.instance
|
||||
.encryptData(box
|
||||
.read(BoxName.emailDriver)
|
||||
.toString()),
|
||||
);
|
||||
// Navigate to another screen or perform other actions
|
||||
} else {}
|
||||
|
||||
Reference in New Issue
Block a user