From a04351a82b2e13bd20ec43b46b5bef128f89698d Mon Sep 17 00:00:00 2001 From: Josef Seiringer Date: Sat, 5 Apr 2025 22:18:18 +0200 Subject: [PATCH] back no add mod. --- android/app/build.gradle.kts | 2 +- lib/controller/home_controller.dart | 3 ++- lib/pages/home/home_view.dart | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 600cc32..00fc012 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -8,7 +8,7 @@ plugins { android { namespace = "com.example.flutter_kantine_app_2025" compileSdk = flutter.compileSdkVersion - ndkVersion = flutter.ndkVersion + ndkVersion = "27.0.12077973" compileOptions { sourceCompatibility = JavaVersion.VERSION_11 diff --git a/lib/controller/home_controller.dart b/lib/controller/home_controller.dart index c832939..5eded6a 100644 --- a/lib/controller/home_controller.dart +++ b/lib/controller/home_controller.dart @@ -112,8 +112,9 @@ class HomeController extends GetxController { confirmTextColor: Colors.white, cancelTextColor: Colors.red, buttonColor: Colors.blue, - onCancel: () { + onCancel: () async { // Handle cancel action + await _loadFromNotionKantine(); Get.back(); }, onConfirm: () { diff --git a/lib/pages/home/home_view.dart b/lib/pages/home/home_view.dart index 95c2db0..f514eae 100644 --- a/lib/pages/home/home_view.dart +++ b/lib/pages/home/home_view.dart @@ -16,7 +16,7 @@ class HomePage extends GetView { centerTitle: true, title: Text( 'Kantine Ausgaben Liste', - style: TextStyle(color: Colors.grey.shade200, fontSize: 35.0), + style: TextStyle(color: Colors.grey.shade200, fontSize: 25.0), ), ), body: Obx(