Skip to content

armgit / ente

Public Imported from GitHub
0

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

Clearly mark face info as debug only

laurenspriem6933c77f3642
diff --git a/mobile/lib/ui/viewer/file_details/face_widget.dart b/mobile/lib/ui/viewer/file_details/face_widget.dart
index b7c71977b6..5dd11df9ac 100644
--- a/mobile/lib/ui/viewer/file_details/face_widget.dart
+++ b/mobile/lib/ui/viewer/file_details/face_widget.dart
@@ -227,31 +227,31 @@ class _FaceWidgetState extends State<FaceWidget> {
),
if (kDebugMode)
Text(
- 'S: ${widget.face.score.toStringAsFixed(3)}',
+ 'S: ${widget.face.score.toStringAsFixed(3)} (I)',
style: Theme.of(context).textTheme.bodySmall,
maxLines: 1,
),
if (kDebugMode)
Text(
- 'B: ${widget.face.blur.toStringAsFixed(0)}',
+ 'B: ${widget.face.blur.toStringAsFixed(0)} (I)',
style: Theme.of(context).textTheme.bodySmall,
maxLines: 1,
),
if (kDebugMode)
Text(
- 'D: ${widget.face.detection.getFaceDirection().toDirectionString()}',
+ 'D: ${widget.face.detection.getFaceDirection().toDirectionString()} (I)',
style: Theme.of(context).textTheme.bodySmall,
maxLines: 1,
),
if (kDebugMode)
Text(
- 'Sideways: ${widget.face.detection.faceIsSideways().toString()}',
+ 'Sideways: ${widget.face.detection.faceIsSideways().toString()} (I)',
style: Theme.of(context).textTheme.bodySmall,
maxLines: 1,
),
if (kDebugMode && widget.face.score < kMinimumFaceShowScore)
Text(
- '[Debug only]',
+ 'Not visible to user (I)',
style: Theme.of(context).textTheme.bodySmall,
maxLines: 1,
),