Compare commits

...

2 Commits

Author SHA1 Message Date
John Maguire 6d9bcc9ba1
Pop confirmation modal only for changed forms (#178) 2024-10-11 11:34:44 -04:00
Ian VanSchooten fcf21f6f6b
Fix issues with new xcode builds (#177)
John found an issue in gomobile that seems to be the culprit of one of these issues: https://github.com/golang/go/issues/53316#issuecomment-2407626810
2024-10-11 11:21:34 -04:00
3 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#include <stdint.h>
#include <sys/types.h>
/* <sys/kern_control.h> */
#define CTLIOCGINFO 0xc0644e03UL

View File

@ -39,7 +39,7 @@ class _FormPageState extends State<FormPage> {
changed = widget.changed || changed;
return PopScope<Object?>(
canPop: false,
canPop: !changed,
onPopInvokedWithResult: (bool didPop, Object? result) async {
if (didPop) {
return;

View File

@ -1,6 +1,8 @@
111MODULE = on
export GO111MODULE
unexport SWIFT_DEBUG_INFORMATION_VERSION
unexport SWIFT_DEBUG_INFORMATION_FORMAT
clean:
rm -rf mobileNebula.aar MobileNebula.xcframework