Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Enable rounded map markers

ashil-pilot75682af54748
diff --git a/mobile/apps/photos/changes/rounded-map-markers.md b/mobile/apps/photos/changes/rounded-map-markers.md
new file mode 100644
index 0000000000..dcad473367
--- /dev/null
+++ b/mobile/apps/photos/changes/rounded-map-markers.md
@@ -0,0 +1 @@
+- Updated the map with rounded photo markers and clearer photo counts.
diff --git a/mobile/apps/photos/lib/ui/map/map_view.dart b/mobile/apps/photos/lib/ui/map/map_view.dart
index 0b9d949283..d1b72455ed 100644
--- a/mobile/apps/photos/lib/ui/map/map_view.dart
+++ b/mobile/apps/photos/lib/ui/map/map_view.dart
@@ -71,7 +71,6 @@ class MapView extends StatefulWidget {
}
class _MapViewState extends State<MapView> {
- static const _previewEnabled = bool.fromEnvironment("MAP_MARKER_PREVIEW");
late List<Marker> _markers;
@override
@@ -212,7 +211,7 @@ class _MapViewState extends State<MapView> {
imageMarker,
ValueKey(index),
markerSize: widget.markerSize,
- useRoundedMarker: _previewEnabled && widget.showControls,
+ useRoundedMarker: widget.showControls,
onTap: clusterBounds == null
? null
: () {