diff --git a/lib/services/media/media_file_service.dart b/lib/services/media/media_file_service.dart index e8fe36277..00020a2de 100644 --- a/lib/services/media/media_file_service.dart +++ b/lib/services/media/media_file_service.dart @@ -142,7 +142,11 @@ class PlatformMediaFileService implements MediaFileService { }) as Map; return AvesEntry.fromMap(result); } on PlatformException catch (e, stack) { - await reportService.recordError(e, stack); + // do not report issues with simple parameter-less media content + // as it is likely an obsolete Media Store entry + if (!uri.startsWith('content://media/external/') || uri.contains('?')) { + await reportService.recordError(e, stack); + } } return null; } diff --git a/lib/widgets/viewer/info/location_section.dart b/lib/widgets/viewer/info/location_section.dart index cb6062516..b71e1561f 100644 --- a/lib/widgets/viewer/info/location_section.dart +++ b/lib/widgets/viewer/info/location_section.dart @@ -86,7 +86,7 @@ class _LocationSectionState extends State { controller: _mapController, entries: [entry], isAnimatingNotifier: widget.isScrollingNotifier, - onUserZoomChange: (zoom) => settings.infoMapZoom = zoom, + onUserZoomChange: (zoom) => settings.infoMapZoom = zoom.roundToDouble(), onMarkerTap: collection != null ? (_, __, ___) => _openMapPage(context) : null, openMapPage: collection != null ? _openMapPage : null, ),