optimizations
This commit is contained in:
@@ -94,7 +94,11 @@ class _Map extends StatelessWidget {
|
||||
width: context.width,
|
||||
// TODO: migrate to DriftMapRoute after merging #19898
|
||||
child: MapThumbnail(
|
||||
onTap: (_, __) => context.pushRoute(MapRoute(initialLocation: currentLocation)),
|
||||
onTap: (_, __) => context.pushRoute(
|
||||
const DriftMapRoute(
|
||||
// initialLocation: currentLocation
|
||||
),
|
||||
),
|
||||
zoom: 8,
|
||||
centre: currentLocation ?? const LatLng(21.44950, -157.91959),
|
||||
showAttribution: false,
|
||||
|
||||
Reference in New Issue
Block a user