Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
Fix const
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgardo committed Nov 15, 2023
1 parent 01bcfd6 commit e137a76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/state/services.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<Network, NetworkServices> networkServices = const {};
final Map<Network, NetworkServices> networkServices = {};

/// Global configuration used when starting services.
final Config config;
Expand All @@ -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.
///
Expand Down

0 comments on commit e137a76

Please sign in to comment.