From 4db7a1decabf4d9dabdf1b4f8761b80fa839533a Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 15 Nov 2023 08:06:48 +0900 Subject: 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 --- lib/data/data_providers/vehicle_notifier.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/data/data_providers/vehicle_notifier.dart') 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 { 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')) { -- cgit 1.2.3-korg