Fire share with serverUrl

This commit is contained in:
Vicente J. Ruiz Jurado 2018-08-03 08:43:59 +02:00
parent e6213fa0f3
commit 29a9f43e00

View file

@ -107,7 +107,7 @@ class _genericMapState extends State<genericMap> {
store.dispatch(new UpdateYourLocationMapAction(loc)); store.dispatch(new UpdateYourLocationMapAction(loc));
store.dispatch(new EditConfirmYourLocationAction(loc)); store.dispatch(new EditConfirmYourLocationAction(loc));
}, },
serverUrl: store.state.firesApiUrl, serverUrl: store.state.serverUrl,
mapState: store.state.fireMapState); mapState: store.state.fireMapState);
}, },
builder: (context, view) { builder: (context, view) {
@ -261,7 +261,8 @@ class _genericMapState extends State<genericMap> {
Stack(fit: StackFit.expand, children: <Widget>[ Stack(fit: StackFit.expand, children: <Widget>[
// Material(color: Colors.yellowAccent), // Material(color: Colors.yellowAccent),
new Opacity( new Opacity(
opacity: status == FireMapStatus.subscriptionConfirm || opacity:
status == FireMapStatus.subscriptionConfirm ||
status == FireMapStatus.edit status == FireMapStatus.edit
? 0.5 ? 0.5
: 1.0, : 1.0,