Fehlerkorrekturen und Erweiterungen
This commit is contained in:
1 parent
19b5b255ef
commit
a16a8fcf28
18 files changed
+88
-239
No files matched your search
@@ -64,7 +64,9 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
||||
|
||||
_initCompleted = true;
|
||||
|
||||
setState(() {});
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
}
|
||||
});
|
||||
|
||||
super.initState();
|
||||
@@ -468,6 +470,7 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
||||
var position = await MyApp.getCurrentPosition();
|
||||
if (position != null) {
|
||||
message.task.pos = FinTaskPos();
|
||||
message.task.pos!.time = DateTime.now().toIso8601String();
|
||||
message.task.pos!.lat = position.latitude;
|
||||
message.task.pos!.long = position.longitude;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user