25-2/24/1
This commit is contained in:
@@ -327,8 +327,9 @@ class LoginCaptin extends StatelessWidget {
|
||||
if (user != null) {
|
||||
box.write(
|
||||
BoxName.emailDriver,
|
||||
encryptionHelper.encryptData(
|
||||
user.email.toString()));
|
||||
EncryptionHelper.instance
|
||||
.encryptData(
|
||||
user.email.toString()));
|
||||
|
||||
box.write(
|
||||
BoxName.driverID, user.uid);
|
||||
@@ -386,6 +387,19 @@ class LoginCaptin extends StatelessWidget {
|
||||
style: AppStyle.subtitle,
|
||||
),
|
||||
),
|
||||
// GestureDetector(
|
||||
// onTap: () async {
|
||||
// await storage.deleteAll();
|
||||
// box.erase();
|
||||
// },
|
||||
// child: Padding(
|
||||
// padding: const EdgeInsets.all(8.0),
|
||||
// child: Text(
|
||||
// 'erase'.tr, // Improved wording
|
||||
// style: AppStyle.subtitle,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
],
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user