aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app-config/config.yaml (renamed from config/config.yaml)0
-rw-r--r--lib/data/data_providers/vehicle_notifier.dart2
-rw-r--r--pubspec.yaml2
3 files changed, 2 insertions, 2 deletions
diff --git a/config/config.yaml b/app-config/config.yaml
index 138fe4b..138fe4b 100644
--- a/config/config.yaml
+++ b/app-config/config.yaml
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')) {
diff --git a/pubspec.yaml b/pubspec.yaml
index 5dc5224..6aa9639 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -82,7 +82,7 @@ flutter:
- assets/
- animations/
- animations/hybrid_model/
- - config/
+ - app-config/
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware