π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Added and removed: Disposal of scanner controller and removal of old scanning package
Muhammed Ayimenab2eb77722ea
diff --git a/lib/ui/settings/data/import/analyze_qr_code.dart b/lib/ui/settings/data/import/analyze_qr_code.dartindex ada028d169..fe384d93cc 100644--- a/lib/ui/settings/data/import/analyze_qr_code.dart+++ b/lib/ui/settings/data/import/analyze_qr_code.dart@@ -30,6 +30,13 @@ class _QrScannerState extends State<QrScanner> {detectionSpeed: DetectionSpeed.normal,facing: CameraFacing.back,);++ @override+ void dispose() {+ scannerController.dispose();+ super.dispose();+ }+@overrideWidget build(BuildContext context) {final l10n = context.l10n;diff --git a/pubspec.lock b/pubspec.lockindex 9dd3376236..f4581c0eb8 100644--- a/pubspec.lock+++ b/pubspec.lock@@ -1135,14 +1135,6 @@ packages:url: "https://pub.dev"source: hostedversion: "2.1.0"- qr_code_scanner:- dependency: "direct main"- description:- name: qr_code_scanner- sha256: f23b68d893505a424f0bd2e324ebea71ed88465d572d26bb8d2e78a4749591fd- url: "https://pub.dev"- source: hosted- version: "1.0.1"qr_flutter:dependency: "direct main"description:diff --git a/pubspec.yaml b/pubspec.yamlindex 811900f44d..5e2acc5652 100644--- a/pubspec.yaml+++ b/pubspec.yaml@@ -69,7 +69,6 @@ dependencies:pinput: ^1.2.2pointycastle: ^3.7.3protobuf: ^3.0.0- qr_code_scanner: ^1.0.1qr_flutter: 4.0.0sentry: ^7.9.0sentry_flutter: ^7.9.0