From c7a78a70c950fdc3836f2a39d12c59ac5a7acbd1 Mon Sep 17 00:00:00 2001 From: Muhammed Ayimen Date: Wed, 15 Nov 2023 08:19:07 +0900 Subject: [PATCH] Bug fixed: Google auth image option click function --- lib/ui/settings/data/import/import_service.dart | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/ui/settings/data/import/import_service.dart b/lib/ui/settings/data/import/import_service.dart index c4436ca9c..ea24b5fa6 100644 --- a/lib/ui/settings/data/import/import_service.dart +++ b/lib/ui/settings/data/import/import_service.dart @@ -1,5 +1,4 @@ import 'package:ente_auth/ui/settings/data/import/aegis_import.dart'; -import 'package:ente_auth/ui/settings/data/import/analyze_qr_code.dart'; import 'package:ente_auth/ui/settings/data/import/bitwarden_import.dart'; import 'package:ente_auth/ui/settings/data/import/encrypted_ente_import.dart'; import 'package:ente_auth/ui/settings/data/import/google_auth_image_import.dart'; @@ -35,16 +34,10 @@ class ImportService { showAegisImportInstruction(context); break; case ImportType.googleAuthenticatorImage: - Navigator.of(context).push( - MaterialPageRoute( - builder: (BuildContext context) { - return const QrScanner(); - }, - ), - ); + showGoogleAuthImageInstruction(context); + break; case ImportType.bitwarden: showBitwardenImportInstruction(context); - showGoogleAuthImageInstruction(context); break; } }