Skip to content

armgit / ente

Public Imported from GitHub
0

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

[auth]Skip wait for online sync while parsing otpauth deeplink

Neeraj Guptaa15556264ad2
diff --git a/auth/lib/ui/home_page.dart b/auth/lib/ui/home_page.dart
index 0f76dac047..81bf2de65d 100644
--- a/auth/lib/ui/home_page.dart
+++ b/auth/lib/ui/home_page.dart
@@ -676,7 +676,7 @@ class _HomePageState extends State<HomePage> {
try {
final newCode = Code.fromOTPAuthUrl(link);
getNextTotp(newCode);
- CodeStore.instance.addCode(newCode);
+ CodeStore.instance.addCode(newCode, shouldSync: false);
_focusNewCode(newCode);
} catch (e, s) {
showGenericErrorDialog(