Fire share with serverUrl
This commit is contained in:
parent
e6213fa0f3
commit
29a9f43e00
1 changed files with 8 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue