minor changes
This commit is contained in:
parent
c637c6eb8e
commit
f929ade864
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@ class _LocationSectionState extends State<LocationSection> {
|
|||
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,
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue