Skip to content

Commit 48b9c0d

Browse files
committed
Fix bug in tests
1 parent c6ef0e9 commit 48b9c0d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/src/registry_api/registry.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sealed class DuitRegistry {
1414
static final Map<String, Map<String, dynamic>> _fragmentRegistry = {};
1515
static ComponentRegistry _componentRegistry = DefaultComponentRegistry();
1616
static DuitTheme _theme = const DuitTheme({});
17-
static late LoggingCapabilityDelegate _logManager;
17+
static LoggingCapabilityDelegate _logManager = const LoggingManager();
1818
static late final Map<String, LibraryDescriptor> _libraries;
1919
static late final Map<String, LibraryDescriptor> _reverseIndex;
2020

@@ -27,7 +27,7 @@ sealed class DuitRegistry {
2727
}) async {
2828
_componentRegistry = componentRegistry ?? _componentRegistry;
2929
_theme = theme ?? _theme;
30-
_logManager = logManager ?? const LoggingManager();
30+
_logManager = logManager ?? _logManager;
3131
await _componentRegistry.init();
3232

3333
if (enableExternalLibrarySupport) {

0 commit comments

Comments
 (0)