Adjust vendor view

This commit is contained in:
Hillel Coren 2022-06-08 16:21:25 +03:00
parent 9c77c06219
commit 79a588b9c3
3 changed files with 19 additions and 11 deletions

View File

@ -58,7 +58,7 @@ class PortalLinks extends StatelessWidget {
IconButton(
onPressed: copyLinkPressed,
icon: Icon(Icons.copy),
tooltip: prefState.enableTooltips ? localization.copy : '',
tooltip: prefState.enableTooltips ? localization.copyLink : '',
),
],
);

View File

@ -192,7 +192,11 @@ class _ClientViewFullwidthState extends State<ClientViewFullwidth>
launch('http://maps.google.com/?daddr=' +
Uri.encodeQueryComponent(billingAddress));
},
icon: Icon(Icons.map))
icon: Icon(Icons.map),
tooltip: state.prefState.enableTooltips
? localization.viewMap
: '',
)
],
),
SizedBox(height: 8),

View File

@ -168,7 +168,11 @@ class _VendorViewFullwidthState extends State<VendorViewFullwidth>
launch('http://maps.google.com/?daddr=' +
Uri.encodeQueryComponent(billingAddress));
},
icon: Icon(Icons.map))
icon: Icon(Icons.map),
tooltip: state.prefState.enableTooltips
? localization.viewMap
: '',
)
],
),
SizedBox(height: 8),