Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[auth] Remove view qr code option

Neeraj Gupta23574a2e3a9f
diff --git a/auth/lib/onboarding/view/setup_enter_secret_key_page.dart b/auth/lib/onboarding/view/setup_enter_secret_key_page.dart
index e7c732454c..ee726dc17d 100644
--- a/auth/lib/onboarding/view/setup_enter_secret_key_page.dart
+++ b/auth/lib/onboarding/view/setup_enter_secret_key_page.dart
@@ -117,23 +117,7 @@ class _SetupEnterSecretKeyPageState extends State<SetupEnterSecretKeyPage> {
final l10n = context.l10n;
return Scaffold(
appBar: AppBar(
- title: Text(l10n.importAccountPageTitle),
- actions: [
- if (widget.code != null)
- IconButton(
- icon: const Icon(Icons.qr_code_2_outlined),
- enableFeedback: true,
- onPressed: () {
- Navigator.of(context).push(
- MaterialPageRoute(
- builder: (BuildContext context) {
- return ViewQrPage(code: widget.code);
- },
- ),
- ).ignore();
- },
- ),
- ],
+ title: Text(l10n.importAccountPageTitle)
),
body: SingleChildScrollView(
child: Padding(