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 EditConfirmYourLocationAction(loc));
},
serverUrl: store.state.firesApiUrl,
serverUrl: store.state.serverUrl,
mapState: store.state.fireMapState);
},
builder: (context, view) {
@ -205,7 +205,7 @@ class _genericMapState extends State<genericMap> {
new TextEditingValue(
text: _location.description,
selection: new TextSelection.collapsed(
offset: _location.description.length ))),
offset: _location.description.length))),
onChanged: (newDesc) {
debugPrint("OnChanged");
_location = _location.copyWith(description: newDesc);
@ -261,7 +261,8 @@ class _genericMapState extends State<genericMap> {
Stack(fit: StackFit.expand, children: <Widget>[
// Material(color: Colors.yellowAccent),
new Opacity(
opacity: status == FireMapStatus.subscriptionConfirm ||
opacity:
status == FireMapStatus.subscriptionConfirm ||
status == FireMapStatus.edit
? 0.5
: 1.0,