π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[auth] Fix logout action
Aman Raj Singh Mouryaba270000b2a4
diff --git a/auth/lib/ui/tools/lock_screen.dart b/auth/lib/ui/tools/lock_screen.dartindex a77ba6d155..139a7fcbd2 100644--- a/auth/lib/ui/tools/lock_screen.dart+++ b/auth/lib/ui/tools/lock_screen.dart@@ -3,12 +3,14 @@ import 'dart:math';import 'package:ente_auth/core/configuration.dart';import 'package:ente_auth/l10n/l10n.dart';+import 'package:ente_auth/onboarding/view/onboarding_page.dart';import 'package:ente_auth/services/user_service.dart';import 'package:ente_auth/theme/ente_theme.dart';import 'package:ente_auth/ui/tools/app_lock.dart';import 'package:ente_auth/utils/auth_util.dart';import 'package:ente_auth/utils/dialog_util.dart';import 'package:ente_auth/utils/lock_screen_settings.dart';+import 'package:ente_auth/utils/navigation_util.dart';import 'package:flutter/material.dart';import 'package:flutter/scheduler.dart';import 'package:flutter_animate/flutter_animate.dart';@@ -206,6 +208,10 @@ class _LockScreenState extends State<LockScreen> with WidgetsBindingObserver {isCritical: true,firstButtonOnTap: () async {await UserService.instance.logout(context);+ await routeToPage(+ context,+ const OnboardingPage(),+ );},);}