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 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) {
|
||||||
|
|
@ -205,7 +205,7 @@ class _genericMapState extends State<genericMap> {
|
||||||
new TextEditingValue(
|
new TextEditingValue(
|
||||||
text: _location.description,
|
text: _location.description,
|
||||||
selection: new TextSelection.collapsed(
|
selection: new TextSelection.collapsed(
|
||||||
offset: _location.description.length ))),
|
offset: _location.description.length))),
|
||||||
onChanged: (newDesc) {
|
onChanged: (newDesc) {
|
||||||
debugPrint("OnChanged");
|
debugPrint("OnChanged");
|
||||||
_location = _location.copyWith(description: newDesc);
|
_location = _location.copyWith(description: newDesc);
|
||||||
|
|
@ -261,10 +261,11 @@ 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.edit
|
status == FireMapStatus.subscriptionConfirm ||
|
||||||
? 0.5
|
status == FireMapStatus.edit
|
||||||
: 1.0,
|
? 0.5
|
||||||
|
: 1.0,
|
||||||
child: map),
|
child: map),
|
||||||
Positioned(
|
Positioned(
|
||||||
top: constraints.maxHeight - 200,
|
top: constraints.maxHeight - 200,
|
||||||
|
|
@ -314,7 +315,7 @@ class _genericMapState extends State<genericMap> {
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Share.share(
|
Share.share(
|
||||||
'${view.mapState.fireNotification.description}. ${view
|
'${view.mapState.fireNotification.description}. ${view
|
||||||
.serverUrl}fire/${view.mapState.fireNotification.sealed}');
|
.serverUrl}fire/${view.mapState.fireNotification.sealed}');
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue