This commit is contained in:
Sven committed 2024-03-19 16:08:32 +01:00
1 parent 8456e3ee6f
commit a5c572770b
3 files changed
+8 -2

No files matched your search

@@ -45,6 +45,12 @@ class _AcceptedJobsPageState extends State<AcceptedJobsPage> {
void initState() {
Future.delayed(const Duration(seconds: 0), () async {
_jobs = await MyApp.isarInstance.jobs.filter().stateEqualTo(Constants.stateAccepted).findAll();
_jobs.sort((job1, job2) {
var date1 = DateTime.parse(job1.ordertime).millisecondsSinceEpoch;
var date2 = DateTime.parse(job2.ordertime).millisecondsSinceEpoch;
return date2 - date1;
});
_initCompleted = true;
+1 -1
View File
@@ -152,7 +152,7 @@ class MqttCore {
_mqttClient.publishMessage(topic, MqttQos.exactlyOnce, buffer);
//Util.logInfo("message\n$text\nsend to $topic");
Util.logInfo("message\n$text\nsend to $topic");
}
publishPayloadMessage(String topic, Map<String, dynamic> payload) {
+1 -1
View File
@@ -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: 218.0.0+9
version: 219.0.0+10
environment:
sdk: '>=2.19.6 <3.0.0'