π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
chore(auth): rename toExportFormat
Prateek Sunal3c793258a8a3
diff --git a/auth/lib/models/code.dart b/auth/lib/models/code.dartindex 2ee668c631..362df74e3a 100644--- a/auth/lib/models/code.dart+++ b/auth/lib/models/code.dart@@ -159,7 +159,7 @@ class Code {}}- String toExportFormat() {+ String toOTPAuthUrlFormat() {return jsonEncode(Uri.parse("$rawData&codeDisplay="diff --git a/auth/lib/store/code_store.dart b/auth/lib/store/code_store.dartindex 3ed6d6f3e5..81c2d2dca1 100644--- a/auth/lib/store/code_store.dart+++ b/auth/lib/store/code_store.dart@@ -97,14 +97,14 @@ class CodeStore {result = AddResult.updateCode;await _authenticatorService.updateEntry(code.generatedID!,- code.toExportFormat(),+ code.toOTPAuthUrlFormat(),shouldSync,mode,);} else {result = AddResult.newCode;code.generatedID = await _authenticatorService.addEntry(- code.toExportFormat(),+ code.toOTPAuthUrlFormat(),shouldSync,mode,);