From e137a76d5ed5be0dd14a44266cbc4880e1263338 Mon Sep 17 00:00:00 2001 From: Michael Bisgaard Olesen Date: Wed, 15 Nov 2023 13:15:16 +0100 Subject: [PATCH] Fix const --- lib/state/services.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/state/services.dart b/lib/state/services.dart index 8aa752a..9a752c0 100644 --- a/lib/state/services.dart +++ b/lib/state/services.dart @@ -24,7 +24,7 @@ class NetworkServices { /// Collection of all services available to the app. class ServiceRepository { /// Service collections for all "enabled" networks (as defined in [Config.availableNetworks]). - final Map networkServices = const {}; + final Map networkServices = {}; /// Global configuration used when starting services. final Config config; @@ -35,7 +35,7 @@ class ServiceRepository { /// Global service for interacting with shared preferences. final SharedPreferencesService sharedPreferences; - const ServiceRepository({required this.config, required this.httpService, required this.sharedPreferences}); + ServiceRepository({required this.config, required this.httpService, required this.sharedPreferences}); /// Enable the network with the provided name. ///