Skip to content

armgit / ente

Public Imported from GitHub
0

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

Update icon for Maps

vishnukvmde17c56f4a115
diff --git a/assets/map.png b/assets/map.png
new file mode 100644
index 0000000000..3d8e66dc9f
Binary files /dev/null and b/assets/map.png differ
diff --git a/lib/ui/viewer/search/result/go_to_map_widget.dart b/lib/ui/viewer/search/result/go_to_map_widget.dart
index a3b76e7ea9..e9921d363d 100644
--- a/lib/ui/viewer/search/result/go_to_map_widget.dart
+++ b/lib/ui/viewer/search/result/go_to_map_widget.dart
@@ -1,4 +1,3 @@
-import "package:flutter/cupertino.dart";
import "package:flutter/material.dart";
import "package:photos/generated/l10n.dart";
import "package:photos/services/search_service.dart";
@@ -19,7 +18,6 @@ class GoToMapWidget extends StatelessWidget {
width = 85.0 + ((textScaleFactor - 1.0) * 64);
}
- final colorScheme = getEnteColorScheme(context);
return GestureDetector(
onTap: () async {
final bool result = await requestForMapEnable(context);
@@ -40,14 +38,10 @@ class GoToMapWidget extends StatelessWidget {
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
- SizedBox(
+ Image.asset(
+ "assets/map.png",
width: 64,
height: 64,
- child: Icon(
- CupertinoIcons.map_fill,
- color: colorScheme.strokeFaint,
- size: 48,
- ),
),
const SizedBox(
height: 10,