Skip to content

Commit

Permalink
fix di
Browse files Browse the repository at this point in the history
  • Loading branch information
zethange committed Feb 5, 2024
1 parent 7df1e53 commit 4d11782
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/core/di.dart
Expand Up @@ -22,7 +22,7 @@ Future<void> configureDependence() async {
final Dio dio = Dio();
getIt.registerSingleton(dio);

if (kDebugMode) {
if (kReleaseMode) {
getIt.registerFactory<AuthRepository>(() => AuthRepositoryImpl(getIt()));
getIt
.registerFactory<ServerRepository>(() => ServerRepositoryImpl(getIt()));
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Expand Up @@ -2,7 +2,7 @@ name: pureservers
description: "Application for pureservers.org"
publish_to: "none"

version: 1.0.4+1
version: 1.0.5+1

environment:
sdk: ">=3.2.6 <4.0.0"
Expand Down

0 comments on commit 4d11782

Please sign in to comment.