Adjust vendor view
This commit is contained in:
parent
9c77c06219
commit
79a588b9c3
|
|
@ -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 : '',
|
||||
),
|
||||
],
|
||||
);
|
||||
|
|
|
|||
|
|
@ -188,11 +188,15 @@ class _ClientViewFullwidthState extends State<ClientViewFullwidth>
|
|||
),
|
||||
SizedBox(width: 8),
|
||||
IconButton(
|
||||
onPressed: () {
|
||||
launch('http://maps.google.com/?daddr=' +
|
||||
Uri.encodeQueryComponent(billingAddress));
|
||||
},
|
||||
icon: Icon(Icons.map))
|
||||
onPressed: () {
|
||||
launch('http://maps.google.com/?daddr=' +
|
||||
Uri.encodeQueryComponent(billingAddress));
|
||||
},
|
||||
icon: Icon(Icons.map),
|
||||
tooltip: state.prefState.enableTooltips
|
||||
? localization.viewMap
|
||||
: '',
|
||||
)
|
||||
],
|
||||
),
|
||||
SizedBox(height: 8),
|
||||
|
|
|
|||
|
|
@ -164,11 +164,15 @@ class _VendorViewFullwidthState extends State<VendorViewFullwidth>
|
|||
),
|
||||
SizedBox(width: 8),
|
||||
IconButton(
|
||||
onPressed: () {
|
||||
launch('http://maps.google.com/?daddr=' +
|
||||
Uri.encodeQueryComponent(billingAddress));
|
||||
},
|
||||
icon: Icon(Icons.map))
|
||||
onPressed: () {
|
||||
launch('http://maps.google.com/?daddr=' +
|
||||
Uri.encodeQueryComponent(billingAddress));
|
||||
},
|
||||
icon: Icon(Icons.map),
|
||||
tooltip: state.prefState.enableTooltips
|
||||
? localization.viewMap
|
||||
: '',
|
||||
)
|
||||
],
|
||||
),
|
||||
SizedBox(height: 8),
|
||||
|
|
|
|||
Loading…
Reference in New Issue