diff --git a/lib/content_views/task_list_page.dart b/lib/content_views/task_list_page.dart index f56a655..2ab4b6b 100644 --- a/lib/content_views/task_list_page.dart +++ b/lib/content_views/task_list_page.dart @@ -206,7 +206,6 @@ class _TaskListPageState extends State with ProducerMixin { query.close(); if (taskInfo == null) { taskInfo = TaskInfo(); - taskInfo.id = await TaskInfo.getNextId(); taskInfo.sId = task.sId; taskInfo.answer = null; taskInfo.additionalText = null; diff --git a/lib/tools/mqtt_core.dart b/lib/tools/mqtt_core.dart index 5bd37c7..ac4c59d 100644 --- a/lib/tools/mqtt_core.dart +++ b/lib/tools/mqtt_core.dart @@ -6,6 +6,7 @@ import 'dart:math'; import 'package:archive/archive.dart'; import 'package:dart_mq/dart_mq.dart'; import 'package:device_info_plus/device_info_plus.dart'; +import 'package:flutter/foundation.dart'; import 'package:http/http.dart' as http; import 'package:mqtt5_client/mqtt5_client.dart'; import 'package:mqtt5_client/mqtt5_server_client.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 2e00610..85667ad 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 347.0.0+347 +version: 349.0.0+349 environment: sdk: '>=3.9.0 <4.0.0'