25-2/24/1

This commit is contained in:
Hamza-Ayed
2025-02-24 23:38:01 +03:00
parent 5f53461b34
commit d41314cfed
64 changed files with 1180 additions and 494 deletions

View File

@@ -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,
// ),
// ),
// ),
],
),
)