feat: integrate GService into various root logic classes and log user roles during initialization

This commit is contained in:
2025-12-29 16:44:36 +03:30
parent 4a96dbe2b8
commit 9e2e7845c8
14 changed files with 31 additions and 3 deletions

View File

@@ -42,6 +42,7 @@ class StewardRootLogic extends GetxController {
late DioRemote dioRemote;
var tokenService = Get.find<TokenStorageService>();
var gService = Get.find<GService>();
late CommonRepository commonRepository;
late StewardRepository stewardRepository;
late ChickenLocalDataSource localDatasource;
@@ -61,6 +62,7 @@ class StewardRootLogic extends GetxController {
localDatasource = diChicken.get<ChickenLocalDataSource>();
commonRepository = diChicken.get<CommonRepository>();
stewardRepository = diChicken.get<StewardRepository>();
fLog('gService: ${gService.getRole(Module.chicken)}');
}
@override