Fehlerkorrekturen und Erweiterungen
This commit is contained in:
1 parent
1207d9c517
commit
fcb3ecdbb4
17 files changed
+22
-442
No files matched your search
-92
@@ -1,92 +0,0 @@
|
|||||||
{
|
|
||||||
"cmake" :
|
|
||||||
{
|
|
||||||
"generator" :
|
|
||||||
{
|
|
||||||
"multiConfig" : false,
|
|
||||||
"name" : "Ninja"
|
|
||||||
},
|
|
||||||
"paths" :
|
|
||||||
{
|
|
||||||
"cmake" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/cmake",
|
|
||||||
"cpack" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/cpack",
|
|
||||||
"ctest" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/ctest",
|
|
||||||
"root" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/share/cmake-3.22"
|
|
||||||
},
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"isDirty" : false,
|
|
||||||
"major" : 3,
|
|
||||||
"minor" : 22,
|
|
||||||
"patch" : 1,
|
|
||||||
"string" : "3.22.1-g37088a8",
|
|
||||||
"suffix" : "g37088a8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"objects" :
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"jsonFile" : "codemodel-v2-3b1919ad0feace28094d.json",
|
|
||||||
"kind" : "codemodel",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 3
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"jsonFile" : "cache-v2-b1ae28bb951fb7fa9806.json",
|
|
||||||
"kind" : "cache",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"jsonFile" : "cmakeFiles-v1-4136774c1467998798b4.json",
|
|
||||||
"kind" : "cmakeFiles",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 1,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"reply" :
|
|
||||||
{
|
|
||||||
"client-agp" :
|
|
||||||
{
|
|
||||||
"cache-v2" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "cache-v2-b1ae28bb951fb7fa9806.json",
|
|
||||||
"kind" : "cache",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cmakeFiles-v1" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "cmakeFiles-v1-4136774c1467998798b4.json",
|
|
||||||
"kind" : "cmakeFiles",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 1,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"codemodel-v2" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "codemodel-v2-3b1919ad0feace28094d.json",
|
|
||||||
"kind" : "codemodel",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 3
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-15
@@ -1,15 +0,0 @@
|
|||||||
set(CMAKE_HOST_SYSTEM "Darwin-24.3.0")
|
|
||||||
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
|
|
||||||
set(CMAKE_HOST_SYSTEM_VERSION "24.3.0")
|
|
||||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "arm64")
|
|
||||||
|
|
||||||
include("/Users/svencarstensen/Library/Android/sdk/ndk/26.3.11579264/build/cmake/android.toolchain.cmake")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM "Android-1")
|
|
||||||
set(CMAKE_SYSTEM_NAME "Android")
|
|
||||||
set(CMAKE_SYSTEM_VERSION "1")
|
|
||||||
set(CMAKE_SYSTEM_PROCESSOR "aarch64")
|
|
||||||
|
|
||||||
set(CMAKE_CROSSCOMPILING "TRUE")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM_LOADED 1)
|
|
||||||
-92
@@ -1,92 +0,0 @@
|
|||||||
{
|
|
||||||
"cmake" :
|
|
||||||
{
|
|
||||||
"generator" :
|
|
||||||
{
|
|
||||||
"multiConfig" : false,
|
|
||||||
"name" : "Ninja"
|
|
||||||
},
|
|
||||||
"paths" :
|
|
||||||
{
|
|
||||||
"cmake" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/cmake",
|
|
||||||
"cpack" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/cpack",
|
|
||||||
"ctest" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/ctest",
|
|
||||||
"root" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/share/cmake-3.22"
|
|
||||||
},
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"isDirty" : false,
|
|
||||||
"major" : 3,
|
|
||||||
"minor" : 22,
|
|
||||||
"patch" : 1,
|
|
||||||
"string" : "3.22.1-g37088a8",
|
|
||||||
"suffix" : "g37088a8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"objects" :
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"jsonFile" : "codemodel-v2-d01317a0accf1a7231c5.json",
|
|
||||||
"kind" : "codemodel",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 3
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"jsonFile" : "cache-v2-db11ab8f8a940e1ed792.json",
|
|
||||||
"kind" : "cache",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"jsonFile" : "cmakeFiles-v1-e827c7cc57f910f51aff.json",
|
|
||||||
"kind" : "cmakeFiles",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 1,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"reply" :
|
|
||||||
{
|
|
||||||
"client-agp" :
|
|
||||||
{
|
|
||||||
"cache-v2" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "cache-v2-db11ab8f8a940e1ed792.json",
|
|
||||||
"kind" : "cache",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cmakeFiles-v1" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "cmakeFiles-v1-e827c7cc57f910f51aff.json",
|
|
||||||
"kind" : "cmakeFiles",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 1,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"codemodel-v2" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "codemodel-v2-d01317a0accf1a7231c5.json",
|
|
||||||
"kind" : "codemodel",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 3
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-15
@@ -1,15 +0,0 @@
|
|||||||
set(CMAKE_HOST_SYSTEM "Darwin-24.3.0")
|
|
||||||
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
|
|
||||||
set(CMAKE_HOST_SYSTEM_VERSION "24.3.0")
|
|
||||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "arm64")
|
|
||||||
|
|
||||||
include("/Users/svencarstensen/Library/Android/sdk/ndk/26.3.11579264/build/cmake/android.toolchain.cmake")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM "Android-1")
|
|
||||||
set(CMAKE_SYSTEM_NAME "Android")
|
|
||||||
set(CMAKE_SYSTEM_VERSION "1")
|
|
||||||
set(CMAKE_SYSTEM_PROCESSOR "armv7-a")
|
|
||||||
|
|
||||||
set(CMAKE_CROSSCOMPILING "TRUE")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM_LOADED 1)
|
|
||||||
-92
@@ -1,92 +0,0 @@
|
|||||||
{
|
|
||||||
"cmake" :
|
|
||||||
{
|
|
||||||
"generator" :
|
|
||||||
{
|
|
||||||
"multiConfig" : false,
|
|
||||||
"name" : "Ninja"
|
|
||||||
},
|
|
||||||
"paths" :
|
|
||||||
{
|
|
||||||
"cmake" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/cmake",
|
|
||||||
"cpack" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/cpack",
|
|
||||||
"ctest" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/ctest",
|
|
||||||
"root" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/share/cmake-3.22"
|
|
||||||
},
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"isDirty" : false,
|
|
||||||
"major" : 3,
|
|
||||||
"minor" : 22,
|
|
||||||
"patch" : 1,
|
|
||||||
"string" : "3.22.1-g37088a8",
|
|
||||||
"suffix" : "g37088a8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"objects" :
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"jsonFile" : "codemodel-v2-4d80a8a940d7a69a4b74.json",
|
|
||||||
"kind" : "codemodel",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 3
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"jsonFile" : "cache-v2-5c8774f7fe661cf8c673.json",
|
|
||||||
"kind" : "cache",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"jsonFile" : "cmakeFiles-v1-cf1a4d8cd36f16199d07.json",
|
|
||||||
"kind" : "cmakeFiles",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 1,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"reply" :
|
|
||||||
{
|
|
||||||
"client-agp" :
|
|
||||||
{
|
|
||||||
"cache-v2" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "cache-v2-5c8774f7fe661cf8c673.json",
|
|
||||||
"kind" : "cache",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cmakeFiles-v1" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "cmakeFiles-v1-cf1a4d8cd36f16199d07.json",
|
|
||||||
"kind" : "cmakeFiles",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 1,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"codemodel-v2" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "codemodel-v2-4d80a8a940d7a69a4b74.json",
|
|
||||||
"kind" : "codemodel",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 3
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
set(CMAKE_HOST_SYSTEM "Darwin-24.3.0")
|
|
||||||
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
|
|
||||||
set(CMAKE_HOST_SYSTEM_VERSION "24.3.0")
|
|
||||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "arm64")
|
|
||||||
|
|
||||||
include("/Users/svencarstensen/Library/Android/sdk/ndk/26.3.11579264/build/cmake/android.toolchain.cmake")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM "Android-1")
|
|
||||||
set(CMAKE_SYSTEM_NAME "Android")
|
|
||||||
set(CMAKE_SYSTEM_VERSION "1")
|
|
||||||
set(CMAKE_SYSTEM_PROCESSOR "i686")
|
|
||||||
|
|
||||||
set(CMAKE_CROSSCOMPILING "TRUE")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM_LOADED 1)
|
|
||||||
-92
@@ -1,92 +0,0 @@
|
|||||||
{
|
|
||||||
"cmake" :
|
|
||||||
{
|
|
||||||
"generator" :
|
|
||||||
{
|
|
||||||
"multiConfig" : false,
|
|
||||||
"name" : "Ninja"
|
|
||||||
},
|
|
||||||
"paths" :
|
|
||||||
{
|
|
||||||
"cmake" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/cmake",
|
|
||||||
"cpack" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/cpack",
|
|
||||||
"ctest" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/bin/ctest",
|
|
||||||
"root" : "/Users/svencarstensen/Library/Android/sdk/cmake/3.22.1/share/cmake-3.22"
|
|
||||||
},
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"isDirty" : false,
|
|
||||||
"major" : 3,
|
|
||||||
"minor" : 22,
|
|
||||||
"patch" : 1,
|
|
||||||
"string" : "3.22.1-g37088a8",
|
|
||||||
"suffix" : "g37088a8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"objects" :
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"jsonFile" : "codemodel-v2-37ad76214cfbcb034981.json",
|
|
||||||
"kind" : "codemodel",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 3
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"jsonFile" : "cache-v2-74fe6f938c7e82425fa9.json",
|
|
||||||
"kind" : "cache",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"jsonFile" : "cmakeFiles-v1-bee62d12eb1a3cd2f623.json",
|
|
||||||
"kind" : "cmakeFiles",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 1,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"reply" :
|
|
||||||
{
|
|
||||||
"client-agp" :
|
|
||||||
{
|
|
||||||
"cache-v2" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "cache-v2-74fe6f938c7e82425fa9.json",
|
|
||||||
"kind" : "cache",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cmakeFiles-v1" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "cmakeFiles-v1-bee62d12eb1a3cd2f623.json",
|
|
||||||
"kind" : "cmakeFiles",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 1,
|
|
||||||
"minor" : 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"codemodel-v2" :
|
|
||||||
{
|
|
||||||
"jsonFile" : "codemodel-v2-37ad76214cfbcb034981.json",
|
|
||||||
"kind" : "codemodel",
|
|
||||||
"version" :
|
|
||||||
{
|
|
||||||
"major" : 2,
|
|
||||||
"minor" : 3
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
set(CMAKE_HOST_SYSTEM "Darwin-24.3.0")
|
|
||||||
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
|
|
||||||
set(CMAKE_HOST_SYSTEM_VERSION "24.3.0")
|
|
||||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "arm64")
|
|
||||||
|
|
||||||
include("/Users/svencarstensen/Library/Android/sdk/ndk/26.3.11579264/build/cmake/android.toolchain.cmake")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM "Android-1")
|
|
||||||
set(CMAKE_SYSTEM_NAME "Android")
|
|
||||||
set(CMAKE_SYSTEM_VERSION "1")
|
|
||||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
|
||||||
|
|
||||||
set(CMAKE_CROSSCOMPILING "TRUE")
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM_LOADED 1)
|
|
||||||
@@ -258,7 +258,8 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
|||||||
Util.logInfo('Task ${taskInfo.task.sId} called');
|
Util.logInfo('Task ${taskInfo.task.sId} called');
|
||||||
|
|
||||||
if (!mounted) return;
|
if (!mounted) return;
|
||||||
showTaskArrivedPopup(context, taskInfo, () async {
|
final currentContext = context;
|
||||||
|
showTaskArrivedPopup(currentContext, taskInfo, () async {
|
||||||
DateFormat dateFormat = DateFormat("dd.MM.yyyy HH:mm");
|
DateFormat dateFormat = DateFormat("dd.MM.yyyy HH:mm");
|
||||||
|
|
||||||
var answer = await _createAnswerHeader(taskInfo);
|
var answer = await _createAnswerHeader(taskInfo);
|
||||||
@@ -281,7 +282,8 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
|||||||
Util.logInfo('Task ${taskInfo.task.sId} called');
|
Util.logInfo('Task ${taskInfo.task.sId} called');
|
||||||
|
|
||||||
if (!mounted) return;
|
if (!mounted) return;
|
||||||
showComissionNumberPopup(context, taskInfo, (comissionNumber) async {
|
final currentContext = context;
|
||||||
|
showComissionNumberPopup(currentContext, taskInfo, (comissionNumber) async {
|
||||||
var answer = await _createAnswerHeader(taskInfo);
|
var answer = await _createAnswerHeader(taskInfo);
|
||||||
answer.val = comissionNumber;
|
answer.val = comissionNumber;
|
||||||
|
|
||||||
@@ -323,7 +325,8 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
|||||||
Util.logInfo('Task ${taskInfo.task.sId} called');
|
Util.logInfo('Task ${taskInfo.task.sId} called');
|
||||||
|
|
||||||
if (!mounted) return;
|
if (!mounted) return;
|
||||||
showTakePhotosPopup(context, taskInfo, (List<Uint8List>? photos) async {
|
final currentContext = context;
|
||||||
|
showTakePhotosPopup(currentContext, taskInfo, (List<Uint8List>? photos) async {
|
||||||
if (photos != null) {
|
if (photos != null) {
|
||||||
await MyApp.isarInstance.writeTxn(() async {
|
await MyApp.isarInstance.writeTxn(() async {
|
||||||
await MyApp.isarInstance.pictures.filter().tourIdEqualTo(widget.tour.id).deleteAll();
|
await MyApp.isarInstance.pictures.filter().tourIdEqualTo(widget.tour.id).deleteAll();
|
||||||
@@ -354,7 +357,9 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
|||||||
void _processStationNotice(TaskInfo taskInfo) {
|
void _processStationNotice(TaskInfo taskInfo) {
|
||||||
Util.logInfo('Task ${taskInfo.task.sId} called');
|
Util.logInfo('Task ${taskInfo.task.sId} called');
|
||||||
|
|
||||||
showStationNoticePopup(context, taskInfo, (notice) async {
|
if (!mounted) return;
|
||||||
|
final currentContext = context;
|
||||||
|
showStationNoticePopup(currentContext, taskInfo, (notice) async {
|
||||||
var answer = await _createAnswerHeader(taskInfo);
|
var answer = await _createAnswerHeader(taskInfo);
|
||||||
answer.val = notice;
|
answer.val = notice;
|
||||||
|
|
||||||
@@ -364,7 +369,9 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
|||||||
|
|
||||||
_finishTaskProcessing(taskInfo);
|
_finishTaskProcessing(taskInfo);
|
||||||
|
|
||||||
setState(() {});
|
if (mounted) {
|
||||||
|
setState(() {});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -372,7 +379,8 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
|||||||
Util.logInfo('Task ${taskInfo.task.sId} called');
|
Util.logInfo('Task ${taskInfo.task.sId} called');
|
||||||
|
|
||||||
if (!mounted) return;
|
if (!mounted) return;
|
||||||
showReceiptGiverPopup(context, taskInfo, (receiptGiver, selectedTourEntry) async {
|
final currentContext = context;
|
||||||
|
showReceiptGiverPopup(currentContext, taskInfo, (receiptGiver, selectedTourEntry) async {
|
||||||
var answer = await _createAnswerHeader(taskInfo);
|
var answer = await _createAnswerHeader(taskInfo);
|
||||||
answer.code = selectedTourEntry.code;
|
answer.code = selectedTourEntry.code;
|
||||||
answer.val = receiptGiver;
|
answer.val = receiptGiver;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ showTaskArrivedPopup(BuildContext context, TaskInfo taskInfo, Function() onFinis
|
|||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return PopScope(
|
return PopScope(
|
||||||
canPop: false,
|
canPop: false,
|
||||||
onPopInvoked: (bool didPop) async {
|
onPopInvokedWithResult: (bool didPop, dynamic result) async {
|
||||||
if (!didPop) {
|
if (!didPop) {
|
||||||
final shouldPop = await taskDialogSecurityException(context);
|
final shouldPop = await taskDialogSecurityException(context);
|
||||||
if (shouldPop && context.mounted) {
|
if (shouldPop && context.mounted) {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ showComissionNumberPopup(BuildContext context, TaskInfo taskInfo, Function(Strin
|
|||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return PopScope(
|
return PopScope(
|
||||||
canPop: false,
|
canPop: false,
|
||||||
onPopInvoked: (bool didPop) async {
|
onPopInvokedWithResult: (bool didPop, dynamic result) async {
|
||||||
if (!didPop) {
|
if (!didPop) {
|
||||||
final shouldPop = await taskDialogSecurityException(context);
|
final shouldPop = await taskDialogSecurityException(context);
|
||||||
if (shouldPop && context.mounted) {
|
if (shouldPop && context.mounted) {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ showPickupDeliveryStatusPopup(BuildContext context, TaskInfo taskInfo, Function(
|
|||||||
|
|
||||||
return PopScope(
|
return PopScope(
|
||||||
canPop: false,
|
canPop: false,
|
||||||
onPopInvoked: (bool didPop) async {
|
onPopInvokedWithResult: (bool didPop, dynamic result) async {
|
||||||
if (!didPop) {
|
if (!didPop) {
|
||||||
final shouldPop = await taskDialogSecurityException(context);
|
final shouldPop = await taskDialogSecurityException(context);
|
||||||
if (shouldPop && context.mounted) {
|
if (shouldPop && context.mounted) {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ showReceiptGiverPopup(BuildContext context, TaskInfo taskInfo, Function(String,
|
|||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return PopScope(
|
return PopScope(
|
||||||
canPop: false,
|
canPop: false,
|
||||||
onPopInvoked: (bool didPop) async {
|
onPopInvokedWithResult: (bool didPop, dynamic result) async {
|
||||||
if (!didPop) {
|
if (!didPop) {
|
||||||
final shouldPop = await taskDialogSecurityException(context);
|
final shouldPop = await taskDialogSecurityException(context);
|
||||||
if (shouldPop && context.mounted) {
|
if (shouldPop && context.mounted) {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ showSignaturePopup(BuildContext context, TaskInfo taskInfo, Function(String?) on
|
|||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return PopScope(
|
return PopScope(
|
||||||
canPop: false,
|
canPop: false,
|
||||||
onPopInvoked: (bool didPop) async {
|
onPopInvokedWithResult: (bool didPop, dynamic result) async {
|
||||||
if (!didPop) {
|
if (!didPop) {
|
||||||
final shouldPop = await taskDialogSecurityException(context);
|
final shouldPop = await taskDialogSecurityException(context);
|
||||||
if (shouldPop) {
|
if (shouldPop) {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ showStationNoticePopup(BuildContext context, TaskInfo taskInfo, Function(String)
|
|||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return PopScope(
|
return PopScope(
|
||||||
canPop: false,
|
canPop: false,
|
||||||
onPopInvoked: (bool didPop) async {
|
onPopInvokedWithResult: (bool didPop, dynamic result) async {
|
||||||
if (!didPop) {
|
if (!didPop) {
|
||||||
final shouldPop = await taskDialogSecurityException(context);
|
final shouldPop = await taskDialogSecurityException(context);
|
||||||
if (shouldPop && context.mounted) {
|
if (shouldPop && context.mounted) {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ Future<void> showTakePhotosPopup(BuildContext context, TaskInfo taskInfo, Functi
|
|||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return PopScope(
|
return PopScope(
|
||||||
canPop: false,
|
canPop: false,
|
||||||
onPopInvoked: (bool didPop) async {
|
onPopInvokedWithResult: (bool didPop, dynamic result) async {
|
||||||
if (!didPop) {
|
if (!didPop) {
|
||||||
final shouldPop = await taskDialogSecurityException(context);
|
final shouldPop = await taskDialogSecurityException(context);
|
||||||
if (shouldPop && context.mounted) {
|
if (shouldPop && context.mounted) {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ showZipPopup(BuildContext context, String text, String buttonText, Function(Stri
|
|||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return PopScope(
|
return PopScope(
|
||||||
canPop: false,
|
canPop: false,
|
||||||
onPopInvoked: (bool didPop) async {
|
onPopInvokedWithResult: (bool didPop, dynamic result) async {
|
||||||
if (!didPop) {
|
if (!didPop) {
|
||||||
final shouldPop = await taskDialogSecurityException(context);
|
final shouldPop = await taskDialogSecurityException(context);
|
||||||
if (shouldPop && context.mounted) {
|
if (shouldPop && context.mounted) {
|
||||||
|
|||||||
Reference in new issue
Block a user