Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob] Deprecate methods

laurenspriem624a06c3f885
diff --git a/mobile/lib/services/machine_learning/face_ml/face_detection/detection.dart b/mobile/lib/services/machine_learning/face_ml/face_detection/detection.dart
index 7aa0881417..c95a5e0d53 100644
--- a/mobile/lib/services/machine_learning/face_ml/face_detection/detection.dart
+++ b/mobile/lib/services/machine_learning/face_ml/face_detection/detection.dart
@@ -16,6 +16,7 @@ abstract class Detection {
String toString();
}
+@Deprecated('Old method only used in other deprecated methods')
extension BBoxExtension on List<double> {
void roundBoxToDouble() {
final widthRounded = (this[2] - this[0]).roundToDouble();