Skip to content

Commit 57bd78d

Browse files
committed
refactor(dependencies): make InlineAdCacheService nullable
- Change inlineAdCacheService from late final to nullable - This modification allows for more flexible initialization and potential null checks
1 parent 1a8386c commit 57bd78d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bootstrap.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Future<Widget> bootstrap(
4949

5050
// Initialize InlineAdCacheService early as it's a singleton and needs AdService.
5151
// It will be fully configured once AdService is available.
52-
late final InlineAdCacheService inlineAdCacheService;
52+
InlineAdCacheService? inlineAdCacheService;
5353

5454
// 2. Initialize HttpClient. Its tokenProvider now directly reads from
5555
// kvStorage, breaking the circular dependency with AuthRepository.

0 commit comments

Comments
 (0)