From 797f77cf696d45b34868d710272f6301a60bb586 Mon Sep 17 00:00:00 2001 From: Dayron Date: Mon, 6 Oct 2025 14:17:30 +0200 Subject: [PATCH] Add launch configuration, update API keys, and refactor UI components for better structure and performance --- .vscode/launch.json | 31 +++ android/app/src/main/AndroidManifest.xml | 2 +- ios/Runner/AppDelegate.swift | 2 +- lib/components/count/count_content.dart | 20 +- lib/components/group/group_content.dart | 20 +- lib/components/home/create_trip_content.dart | 79 ++++---- lib/components/home/home_content.dart | 20 +- lib/components/map/map_content.dart | 132 +------------ lib/components/settings/settings_content.dart | 40 ++-- .../settings/settings_theme_content.dart | 105 ++++++---- lib/pages/home.dart | 181 +++++++++++------- lib/pages/login.dart | 44 +++-- lib/providers/theme_provider.dart | 2 +- lib/services/trip_service.dart | 12 +- lib/services/user_service.dart | 28 +-- pubspec.yaml | 4 +- 16 files changed, 371 insertions(+), 351 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..cdaaeb6 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,31 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Flutter", + "type": "dart", + "request": "launch", + "program": "lib/main.dart" + }, + { + "name": "travel_mate", + "request": "launch", + "type": "dart" + }, + { + "name": "travel_mate (profile mode)", + "request": "launch", + "type": "dart", + "flutterMode": "profile" + }, + { + "name": "travel_mate (release mode)", + "request": "launch", + "type": "dart", + "flutterMode": "release" + } + ] +} \ No newline at end of file diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 007b7b9..4dd6541 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -35,7 +35,7 @@ android:value="2" /> + android:value="AIzaSyCAtz1_d5K0ANwxAA_T84iq7Ac_gsUs_oM"/>