From dbf64e4b28a5d6e5865752bee2af56b1424c57e5 Mon Sep 17 00:00:00 2001 From: fosse Date: Fri, 6 Oct 2023 09:27:05 -0400 Subject: [PATCH] small code cleanup + fix gradle.propeties so remote builds work --- android/gradle.properties | 7 +------ lib/src/screens/qr/scan_screen.dart | 4 ---- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/android/gradle.properties b/android/gradle.properties index e87b435c0..a5965ab8d 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,9 +1,4 @@ -org.gradle.jvmargs=-Xmx1536M \ ---add-exports=java.base/sun.nio.ch=ALL-UNNAMED \ ---add-opens=java.base/java.lang=ALL-UNNAMED \ ---add-opens=java.base/java.lang.reflect=ALL-UNNAMED \ ---add-opens=java.base/java.io=ALL-UNNAMED \ ---add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED +org.gradle.jvmargs=-Xmx1536M android.enableR8=true android.useAndroidX=true android.enableJetifier=true \ No newline at end of file diff --git a/lib/src/screens/qr/scan_screen.dart b/lib/src/screens/qr/scan_screen.dart index 25f3130d6..388e44b5c 100644 --- a/lib/src/screens/qr/scan_screen.dart +++ b/lib/src/screens/qr/scan_screen.dart @@ -61,10 +61,6 @@ class ScanScreenState extends State { DottedBorder( strokeWidth: 8, dashPattern: const [30, 35], - // dashPattern: const [50,90], - // dashPattern: const [50, 200], - // dashPattern: const [1, 190, 60, 190, 60, 190, 60, 170, 90], - // dashPattern: const [200, 50], strokeCap: StrokeCap.round, borderType: BorderType.RRect, radius: const Radius.circular(25),