Update icon for Maps

This commit is contained in:
vishnukvmd 2023-11-16 23:59:35 +05:30
parent 824866a8ab
commit e17c56f4a1
2 changed files with 2 additions and 8 deletions

BIN
assets/map.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -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,