info: changed map style button icon

This commit is contained in:
Thibault Deckers 2020-08-29 10:05:30 +09:00
parent 67a5e19e23
commit 5e89b403a7
2 changed files with 8 additions and 8 deletions

View file

@ -35,6 +35,7 @@ class AIcons {
static const IconData goUp = OMIcons.arrowUpward;
static const IconData group = OMIcons.groupWork;
static const IconData info = OMIcons.info;
static const IconData layers = OMIcons.layers;
static const IconData openInNew = OMIcons.openInNew;
static const IconData print = OMIcons.print;
static const IconData refresh = OMIcons.refresh;
@ -46,7 +47,6 @@ class AIcons {
static const IconData share = OMIcons.share;
static const IconData sort = OMIcons.sort;
static const IconData stats = OMIcons.pieChart;
static const IconData style = OMIcons.palette;
static const IconData zoomIn = OMIcons.add;
static const IconData zoomOut = OMIcons.remove;

View file

@ -59,7 +59,13 @@ class MapButtonPanel extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
children: [
MapOverlayButton(
icon: AIcons.style,
icon: AIcons.openInNew,
onPressed: () => AndroidAppService.openMap(geoUri),
tooltip: 'Show on map...',
),
SizedBox(height: padding),
MapOverlayButton(
icon: AIcons.layers,
onPressed: () async {
final style = await showDialog<EntryMapStyle>(
context: context,
@ -72,12 +78,6 @@ class MapButtonPanel extends StatelessWidget {
},
tooltip: 'Style map...',
),
SizedBox(height: padding),
MapOverlayButton(
icon: AIcons.openInNew,
onPressed: () => AndroidAppService.openMap(geoUri),
tooltip: 'Show on map...',
),
Spacer(),
MapOverlayButton(
icon: AIcons.zoomIn,