WIP: Speed dial positioning issue - current state before fix
This commit is contained in:
parent
a5e0335f72
commit
cc85ca7e0e
1 changed files with 2 additions and 1 deletions
|
|
@ -302,7 +302,8 @@ class _ActiveFiresPageState extends State<ActiveFiresPage> {
|
|||
_saveLocation(location, onAdd);
|
||||
}
|
||||
|
||||
void _saveLocation(Future<YourLocation> location, onAdd) {
|
||||
void _saveLocation(
|
||||
Future<YourLocation> location, AddYourLocationFunction onAdd) {
|
||||
location.then((YourLocation newLocation) {
|
||||
if (newLocation != YourLocation.noLocation) {
|
||||
onAdd(newLocation);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue