back no add mod.

This commit is contained in:
Josef Seiringer 2025-04-05 22:18:18 +02:00
parent 2673d00708
commit a04351a82b
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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: () {

View File

@ -16,7 +16,7 @@ class HomePage extends GetView<HomeController> {
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(