This commit is contained in:
Vadim 2023-10-31 18:31:16 +01:00
parent d7162c7529
commit 2f243db5bb

View file

@ -41,7 +41,7 @@ class RemoteConfigService {
for (final value in FirebaseRemoteConfig.instance.getAll().entries) {
try {
final feature = Feature.values.firstWhere((f) => f.name == value.key);
result[feature] = MapEntry(feature, value.value.toValue(feature));
result[feature] = value.value.toValue(feature);
} catch (e) {
log(e.toString());
}