π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Lint fixed
Neeraj Gupta2eea98a4df1f
diff --git a/mobile/lib/services/machine_learning/face_ml/face_detection/face_detection_service.dart b/mobile/lib/services/machine_learning/face_ml/face_detection/face_detection_service.dartindex 46a748f27c..e13985e50a 100644--- a/mobile/lib/services/machine_learning/face_ml/face_detection/face_detection_service.dart+++ b/mobile/lib/services/machine_learning/face_ml/face_detection/face_detection_service.dart@@ -1,6 +1,6 @@import "dart:async";import "dart:developer" as dev show log;-import 'dart:typed_data' show ByteBuffer, ByteData, Float32List, Uint8List;+import 'dart:typed_data' show ByteData, Float32List;import 'dart:ui' as ui show Image;import 'package:logging/logging.dart';diff --git a/mobile/lib/services/machine_learning/face_ml/face_embedding/face_embedding_service.dart b/mobile/lib/services/machine_learning/face_ml/face_embedding/face_embedding_service.dartindex 26e593f945..acbac0262c 100644--- a/mobile/lib/services/machine_learning/face_ml/face_embedding/face_embedding_service.dart+++ b/mobile/lib/services/machine_learning/face_ml/face_embedding/face_embedding_service.dart@@ -49,7 +49,7 @@ class FaceEmbeddingService extends MlModel {}} catch (e) {_logger.info(- 'MobileFaceNet (entePlugin: $useEntePlugin)Error while running inference: $e');+ 'MobileFaceNet (entePlugin: $useEntePlugin)Error while running inference: $e',);throw MobileFaceNetInterpreterRunException();}}diff --git a/mobile/lib/services/machine_learning/ml_model.dart b/mobile/lib/services/machine_learning/ml_model.dartindex 2ee76b7e5c..1127f57d27 100644--- a/mobile/lib/services/machine_learning/ml_model.dart+++ b/mobile/lib/services/machine_learning/ml_model.dart@@ -1,4 +1,4 @@-import "dart:io" show File, Platform;+import "dart:io" show File;import "package:computer/computer.dart";import "package:logging/logging.dart";diff --git a/mobile/plugins/onnx_dart/lib/onnx_dart_method_channel.dart b/mobile/plugins/onnx_dart/lib/onnx_dart_method_channel.dartindex bd92c1a5c1..669ceca1eb 100644--- a/mobile/plugins/onnx_dart/lib/onnx_dart_method_channel.dart+++ b/mobile/plugins/onnx_dart/lib/onnx_dart_method_channel.dart@@ -1,7 +1,6 @@import 'package:flutter/foundation.dart';import 'package:flutter/services.dart';--import 'onnx_dart_platform_interface.dart';+import 'package:onnx_dart/onnx_dart_platform_interface.dart';/// An implementation of [OnnxDartPlatform] that uses method channels.class MethodChannelOnnxDart extends OnnxDartPlatform {diff --git a/mobile/plugins/onnx_dart/lib/onnx_dart_platform_interface.dart b/mobile/plugins/onnx_dart/lib/onnx_dart_platform_interface.dartindex 1545915859..626f5236a1 100644--- a/mobile/plugins/onnx_dart/lib/onnx_dart_platform_interface.dart+++ b/mobile/plugins/onnx_dart/lib/onnx_dart_platform_interface.dart@@ -1,9 +1,8 @@import 'dart:typed_data';+import 'package:onnx_dart/onnx_dart_method_channel.dart';import 'package:plugin_platform_interface/plugin_platform_interface.dart';-import 'onnx_dart_method_channel.dart';-abstract class OnnxDartPlatform extends PlatformInterface {/// Constructs a OnnxDartPlatform.OnnxDartPlatform() : super(token: _token);diff --git a/mobile/plugins/onnx_dart/pubspec.yaml b/mobile/plugins/onnx_dart/pubspec.yamlindex 5c08c872a4..63baff5a48 100644--- a/mobile/plugins/onnx_dart/pubspec.yaml+++ b/mobile/plugins/onnx_dart/pubspec.yaml@@ -13,9 +13,10 @@ dependencies:plugin_platform_interface: ^2.0.2dev_dependencies:+ flutter_lints: ^3.0.0flutter_test:sdk: flutter- flutter_lints: ^3.0.0+# For information on the generic Dart part of this file, see the# following page: https://dart.dev/tools/pub/pubspecdiff --git a/mobile/pubspec.yaml b/mobile/pubspec.yamlindex 01397a6115..9eca74d11f 100644--- a/mobile/pubspec.yaml+++ b/mobile/pubspec.yaml@@ -124,12 +124,12 @@ dependencies:motionphoto:git: "https://github.com/ente-io/motionphoto.git"move_to_background: ^1.0.2+ onnx_dart:+ path: plugins/onnx_dartonnxruntime:git:url: https://github.com/ente-io/onnxruntime.gitref: ente_onnxruntime- onnx_dart:- path: plugins/onnx_dartopen_mail_app: ^0.4.5package_info_plus: ^4.1.0page_transition: ^2.0.2