feat: integrate GService into various root logic classes and log user roles during initialization
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user