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

@@ -176,6 +176,7 @@ class ProfileLogic extends GetxController {
Future<void> changeUserRole(String newRole) async {
dLog(newRole);
await gService.saveRoute(Module.chicken, newRole);
await gService.saveRole(Module.chicken, newRole);
Get.offAllNamed(newRole);
}