summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-11-15 08:06:48 +0900
committerLisandro Perez Meyer <lpmeyer@ics.com>2023-11-15 16:43:57 +0000
commit4db7a1decabf4d9dabdf1b4f8761b80fa839533a (patch)
tree6e2eb6e8d9e8145ac2ad3fe544c9a2961a0fe7f3 /lib
parent17b4bf6deb0d4ff3648785904d96df2bf8613b9c (diff)
Rename config directory to avoid collisions
The application was failing to build due to the presence of the "config" directory, which seems to conflict with the generation of files with "flutter config" during builds with meta-flutter's flutter-app bbclass. Rename the directory and update references to it to allow building. Bug-AGL: SPEC-4969 Change-Id: I5d36d8fb2c91f0a1aa6c4deb86a040424bc35ac5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/data/data_providers/vehicle_notifier.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/data/data_providers/vehicle_notifier.dart b/lib/data/data_providers/vehicle_notifier.dart
index 7842311..b12cbfd 100644
--- a/lib/data/data_providers/vehicle_notifier.dart
+++ b/lib/data/data_providers/vehicle_notifier.dart
@@ -127,7 +127,7 @@ class VehicleNotifier extends StateNotifier<Vehicle> {
String hostName = 'localhost';
int port = 8080;
try {
- var data = await rootBundle.loadString('config/config.yaml');
+ var data = await rootBundle.loadString('app-config/config.yaml');
final dynamic yamlMap = loadYaml(data);
if (yamlMap.containsKey('hostname')) {