From e57da88272e0612397d57b796ad1a49361a8e4a5 Mon Sep 17 00:00:00 2001 From: Patryk Hegenberg Date: Wed, 18 Feb 2026 08:45:58 +0100 Subject: [PATCH] fix: commit forgotten files --- android/app/build.gradle.kts | 2 ++ lib/src/shared/data/local/tables.dart | 2 ++ pubspec.lock | 42 ++++++++++++++++++++++++++- pubspec.yaml | 3 ++ 4 files changed, 48 insertions(+), 1 deletion(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index edaa69a..018bbcb 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -11,6 +11,7 @@ android { compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 + isCoreLibraryDesugaringEnabled = true } kotlinOptions { @@ -38,4 +39,5 @@ flutter { dependencies { implementation("androidx.core:core-ktx:1.12.0") + coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4") } diff --git a/lib/src/shared/data/local/tables.dart b/lib/src/shared/data/local/tables.dart index e9703b9..cc40a16 100644 --- a/lib/src/shared/data/local/tables.dart +++ b/lib/src/shared/data/local/tables.dart @@ -17,6 +17,8 @@ class Users extends Table { TextColumn get inventorySettings => text().map(const MapConverter()).nullable()(); TextColumn get avatarConfig => text().map(const MapConverter()).nullable()(); + TextColumn get trainingDays => text().map(const ListConverter()).nullable()(); + TextColumn get notificationSettings => text().map(const MapConverter()).nullable()(); DateTimeColumn get lastSyncAt => dateTime().nullable()(); BoolColumn get isDirty => boolean().withDefault(const Constant(false))(); diff --git a/pubspec.lock b/pubspec.lock index 74c0b51..a2f1c5c 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -297,6 +297,14 @@ packages: url: "https://pub.dev" source: hosted version: "3.1.3" + dbus: + dependency: transitive + description: + name: dbus + sha256: d0c98dcd4f5169878b6cf8f6e0a52403a9dff371a3e2f019697accbf6f44a270 + url: "https://pub.dev" + source: hosted + version: "0.7.12" dio: dependency: "direct main" description: @@ -422,6 +430,30 @@ packages: url: "https://pub.dev" source: hosted version: "6.0.0" + flutter_local_notifications: + dependency: "direct main" + description: + name: flutter_local_notifications + sha256: ef41ae901e7529e52934feba19ed82827b11baa67336829564aeab3129460610 + url: "https://pub.dev" + source: hosted + version: "18.0.1" + flutter_local_notifications_linux: + dependency: transitive + description: + name: flutter_local_notifications_linux + sha256: "8f685642876742c941b29c32030f6f4f6dacd0e4eaecb3efbb187d6a3812ca01" + url: "https://pub.dev" + source: hosted + version: "5.0.0" + flutter_local_notifications_platform_interface: + dependency: transitive + description: + name: flutter_local_notifications_platform_interface + sha256: "6c5b83c86bf819cdb177a9247a3722067dd8cc6313827ce7c77a4b238a26fd52" + url: "https://pub.dev" + source: hosted + version: "8.0.0" flutter_localizations: dependency: "direct main" description: flutter @@ -742,7 +774,7 @@ packages: source: hosted version: "2.2.0" path: - dependency: transitive + dependency: "direct main" description: name: path sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" @@ -1226,6 +1258,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.6.12" + timezone: + dependency: "direct main" + description: + name: timezone + sha256: dd14a3b83cfd7cb19e7888f1cbc20f258b8d71b54c06f79ac585f14093a287d1 + url: "https://pub.dev" + source: hosted + version: "0.10.1" typed_data: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 939a7fd..57e2260 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,6 +13,8 @@ dependencies: sdk: flutter audioplayers: ^6.0.0 flutter_dotenv: ^5.1.0 + flutter_local_notifications: ^18.0.0 + timezone: ^0.10.0 # State Management flutter_riverpod: ^3.1.0 @@ -24,6 +26,7 @@ dependencies: sqlite3_flutter_libs: ^0.5.20 path_provider: ^2.1.3 share_plus: ^7.2.1 + path: ^1.9.0 # Networking dio: ^5.4.3+1