diff --git a/lib/ui/video_widget.dart b/lib/ui/video_widget.dart index 2b2b439ae..c7dcaec17 100644 --- a/lib/ui/video_widget.dart +++ b/lib/ui/video_widget.dart @@ -46,7 +46,7 @@ class _VideoWidgetState extends State { } else if (widget.file.isSharedMediaToAppSandbox()) { final localFile = io.File(getSharedMediaFilePath(widget.file)); if (localFile.existsSync()) { - _logger.info("loading from local source"); + _logger.fine("loading from app cache"); _setVideoPlayerController(file: localFile); } else if (widget.file.uploadedFileID != null) { _loadNetworkVideo(); @@ -72,7 +72,6 @@ class _VideoWidgetState extends State { progressCallback: (count, total) { if (mounted) { setState(() { - _logger.info("calling set state"); _progress = count / total; if (_progress == 1) { showToast("decrypting video...", toastLength: Toast.LENGTH_SHORT); diff --git a/lib/utils/file_uploader_util.dart b/lib/utils/file_uploader_util.dart index 841543896..219ff7794 100644 --- a/lib/utils/file_uploader_util.dart +++ b/lib/utils/file_uploader_util.dart @@ -148,7 +148,7 @@ Future _getMediaUploadDataFromAppCache(ente.File file) async { } catch (e, s) { _logger.severe("failed to generate thumbnail", e, s); throw InvalidFileError( - "thumbnail generated failed for fileType: ${file.fileType.toString()}"); + "thumbnail generation failed for fileType: ${file.fileType.toString()}"); } }