π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[auth] Fix export for imports with invalid algoname
Neeraj Gupta6df88cda36bb
diff --git a/auth/lib/onboarding/view/view_qr_page.dart b/auth/lib/onboarding/view/view_qr_page.dartindex 995db1387c..ea088ca7e6 100644--- a/auth/lib/onboarding/view/view_qr_page.dart+++ b/auth/lib/onboarding/view/view_qr_page.dart@@ -28,7 +28,8 @@ class ViewQrPage extends StatelessWidget {child: Column(children: [QrImageView(- data: code!.rawData,+ data: code!.rawData+ .replaceAll('algorithm=Algorithm.', 'algorithm='),eyeStyle: QrEyeStyle(eyeShape: QrEyeShape.square,color: Theme.of(context).colorScheme.onSurface,diff --git a/auth/lib/ui/settings/data/export_widget.dart b/auth/lib/ui/settings/data/export_widget.dartindex ab847f2b13..3ec41b2fc2 100644--- a/auth/lib/ui/settings/data/export_widget.dart+++ b/auth/lib/ui/settings/data/export_widget.dart@@ -189,7 +189,8 @@ Future<String> _getAuthDataForExport() async {String data = "";for (final code in allCodes) {if (code.hasError) continue;- data += "${code.rawData.replaceAll(',', '%2C')}\n";+ data +=+ "${code.rawData.replaceAll('algorithm=Algorithm.', 'algorithm=').replaceAll(',', '%2C')}\n";}return data;