Skip to content

armgit / ente

Public Imported from GitHub
0

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

feat(map in info): stop passing unused variable

ashilkn4f112f62c1ee
diff --git a/lib/ui/map/map_screen.dart b/lib/ui/map/map_screen.dart
index 97b271be8b..89f6aaa6f8 100644
--- a/lib/ui/map/map_screen.dart
+++ b/lib/ui/map/map_screen.dart
@@ -221,7 +221,6 @@ class _MapScreenState extends State<MapScreen> {
initialZoom: widget.initialZoom,
minZoom: minZoom,
maxZoom: maxZoom,
- debounceDuration: debounceDuration,
bottomSheetDraggableAreaHeight:
bottomSheetDraggableAreaHeight,
),
diff --git a/lib/ui/map/map_view.dart b/lib/ui/map/map_view.dart
index d2a1d81d78..15b5c1d8b9 100644
--- a/lib/ui/map/map_view.dart
+++ b/lib/ui/map/map_view.dart
@@ -18,7 +18,6 @@ class MapView extends StatefulWidget {
final double minZoom;
final double maxZoom;
final double initialZoom;
- final int debounceDuration;
final double bottomSheetDraggableAreaHeight;
final bool showControls;
final int interactiveFlags;
@@ -36,7 +35,6 @@ class MapView extends StatefulWidget {
required this.minZoom,
required this.maxZoom,
required this.initialZoom,
- required this.debounceDuration,
required this.bottomSheetDraggableAreaHeight,
this.mapAttributionOptions = const MapAttributionOptions(),
this.markerSize = MapView.defaultMarkerSize,
diff --git a/lib/ui/viewer/file_details/location_tags_widget.dart b/lib/ui/viewer/file_details/location_tags_widget.dart
index 7cc13df2e4..655401cb47 100644
--- a/lib/ui/viewer/file_details/location_tags_widget.dart
+++ b/lib/ui/viewer/file_details/location_tags_widget.dart
@@ -220,7 +220,6 @@ class _InfoMapState extends State<InfoMap> {
minZoom: _enabledMapZoom,
maxZoom: _enabledMapZoom,
initialZoom: _enabledMapZoom,
- debounceDuration: 0,
bottomSheetDraggableAreaHeight: 0,
showControls: false,
interactiveFlags: InteractiveFlag.none,
@@ -267,7 +266,6 @@ class _InfoMapState extends State<InfoMap> {
minZoom: _disabledMapZoom,
maxZoom: _disabledMapZoom,
initialZoom: _disabledMapZoom,
- debounceDuration: 0,
bottomSheetDraggableAreaHeight: 0,
showControls: false,
interactiveFlags: InteractiveFlag.none,