Erweiterungen
This commit is contained in:
1 parent
8c906d6bc2
commit
eb2ffab6cd
5 files changed
+13
-5
No files matched your search
@@ -213,6 +213,8 @@ class _TaskListPageState extends State<TaskListPage> {
|
||||
}
|
||||
|
||||
void _processTask(TaskInfo taskInfo) {
|
||||
Util.logInfo("Process of Task \"${taskInfo.task.sId} started");
|
||||
|
||||
switch(taskInfo.task.type) {
|
||||
case 2:
|
||||
_processSignature(taskInfo);
|
||||
@@ -390,6 +392,8 @@ class _TaskListPageState extends State<TaskListPage> {
|
||||
}
|
||||
|
||||
_finishTaskProcessing(TaskInfo taskInfo) async {
|
||||
Util.logInfo('Task ${taskInfo.task.sId} finished');
|
||||
|
||||
await MyApp.isarInstance.writeTxn(() async {
|
||||
await MyApp.isarInstance.taskInfos.put(taskInfo);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user