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

@@ -12,6 +12,7 @@ class KillHouseRootLogic extends GetxController {
RxInt currentPage = 1.obs;
var tokenService = Get.find<TokenStorageService>();
var gService = Get.find<GService>();
late KillHouseRepository killHouseRepository;
@@ -19,6 +20,7 @@ class KillHouseRootLogic extends GetxController {
void onInit() {
super.onInit();
killHouseRepository = diChicken.get<KillHouseRepository>();
fLog('gService: ${gService.getRole(Module.chicken)}');
}
final pages = [