Skip to content

armgit / ente

Public Imported from GitHub
0

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

Smaller debug info

laurenspriemf76e07337dac
diff --git a/mobile/lib/ui/viewer/file_details/file_info_face_widget.dart b/mobile/lib/ui/viewer/file_details/file_info_face_widget.dart
index eee55637a4..f96fc47325 100644
--- a/mobile/lib/ui/viewer/file_details/file_info_face_widget.dart
+++ b/mobile/lib/ui/viewer/file_details/file_info_face_widget.dart
@@ -119,41 +119,32 @@ class _FileInfoFaceWidgetState extends State<FileInfoFaceWidget> {
if (kDebugMode) {
faceInfo.add(
Text(
- 'S: ${widget.face.score.toStringAsFixed(3)} (I)',
+ 'S: ${widget.face.score.toStringAsFixed(3)}(I)',
style: Theme.of(context).textTheme.bodySmall,
maxLines: 1,
),
);
faceInfo.add(
Text(
- 'B: ${widget.face.blur.toStringAsFixed(0)} (I)',
+ 'B: ${widget.face.blur.toStringAsFixed(0)}(I)',
style: Theme.of(context).textTheme.bodySmall,
maxLines: 1,
),
);
faceInfo.add(
Text(
- 'D: ${widget.face.detection.getFaceDirection().toDirectionString()} (I)',
+ 'D: ${widget.face.detection.getFaceDirection().toDirectionString().substring(0, 3)}(I)',
style: Theme.of(context).textTheme.bodySmall,
maxLines: 1,
),
);
faceInfo.add(
Text(
- 'Sideways: ${widget.face.detection.faceIsSideways().toString()} (I)',
+ 'Si: ${widget.face.detection.faceIsSideways().toString()}(I)',
style: Theme.of(context).textTheme.bodySmall,
maxLines: 1,
),
);
- if (widget.face.score < kMinimumFaceShowScore) {
- faceInfo.add(
- Text(
- 'Not visible to user (I)',
- style: Theme.of(context).textTheme.bodySmall,
- maxLines: 1,
- ),
- );
- }
}
return faceInfo;
}